[actions] try something

This commit is contained in:
Jan Grewe 2021-02-06 14:23:37 +01:00 committed by GitHub
parent ef924e5686
commit 2382a3c85e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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