[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
|
python-version: 3.6
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt install -y xvfb x11-utils libxkbcommon-x11-0
|
||||||
python -m pip install --upgrade pip
|
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
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
@ -33,4 +34,7 @@ jobs:
|
|||||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
|
env: QT_DEBUG_PLUGINS: 1
|
||||||
|
ulimit -c unlimited
|
||||||
|
sudo catchsegv xvfb-run --auto-servernum `which coverage` run -m pytest
|
||||||
pytest nixview
|
pytest nixview
|
||||||
|
Loading…
Reference in New Issue
Block a user