[actions] again

This commit is contained in:
Jan Grewe 2021-02-06 14:43:39 +01:00 committed by GitHub
parent a216f20616
commit acb2d4fa7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,6 @@ 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 pytest-qt nixio matplotlib ipython
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
@ -34,5 +33,5 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
ulimit -c unlimited
sudo catchsegv xvfb-run --auto-servernum `which pytest` nixview
sudo apt-get install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0
pytest