[actions] try something
This commit is contained in:
parent
ef924e5686
commit
2382a3c85e
6
.github/workflows/python-app.yml
vendored
6
.github/workflows/python-app.yml
vendored
@ -22,8 +22,9 @@ jobs:
|
||||
python-version: 3.6
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt install -y xvfb x11-utils libxkbcommon-x11-0
|
||||
python -m pip install --upgrade pip
|
||||
pip install flake8 pyqt5 pytest-qt nixio matplotlib ipython
|
||||
pip install flake8 pyqt5 pytest coverage pytest-qt nixio matplotlib ipython
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
@ -33,4 +34,7 @@ jobs:
|
||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
env: QT_DEBUG_PLUGINS: 1
|
||||
ulimit -c unlimited
|
||||
sudo catchsegv xvfb-run --auto-servernum `which coverage` run -m pytest
|
||||
pytest nixview
|
||||
|
Loading…
Reference in New Issue
Block a user