runs-on: macos-latest
@@ -8,7 +8,7 @@ on:
jobs:
build:
- runs-on: ubuntu-20.04
+ runs-on: macos-latest
strategy:
fail-fast: false
matrix:
@@ -28,8 +28,10 @@ jobs:
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics
- - run: pytest --version
- name: Running tests
- uses: GabrielBB/xvfb-action@v1
- with:
- run: pytest tests/ --ignore=tests/system/data/ --showlocals --verbose --show-capture=all --log-level=debug
+ run: |
+ pytest --version
+ # make install test work...
+ export PYTHONPATH=$(python -m site --user-site)
+ pytest tests/ --ignore=tests/system/data/ --showlocals --verbose --show-capture=all --log-level=debug
+
