Skip to content

Commit

Permalink
runs-on: macos-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Jan 29, 2023
1 parent 04ae101 commit 65b8d45
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/check-code-and-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
Expand All @@ -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

0 comments on commit 65b8d45

Please sign in to comment.