From 2382a3c85e887d47d068417d3e68fa4f90021e8e Mon Sep 17 00:00:00 2001 From: Jan Grewe Date: Sat, 6 Feb 2021 14:23:37 +0100 Subject: [PATCH] [actions] try something --- .github/workflows/python-app.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index fe360ef..57229b5 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -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