Skip to content

Commit

Permalink
Skip acceptance tests under macOS, see #18
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktBurger committed Jan 22, 2024
1 parent 0c844ad commit a004113
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/pyleco_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,18 @@ jobs:
run: pip install .[dev]
- name: Pyleco version
run: python -c "import pyleco;print(pyleco.__version__)"
- name: Run pytest with xvfb
- name: Run pytest under Linux with xvfb
if: runner.os == 'Linux'
run: |
echo "::add-matcher::.github/pytest.json"
xvfb-run -a pytest
- name: Run pytest
if: runner.os != 'Linux'
- name: Run pytest under Windows
if: runner.os == 'Windows'
run: |
echo "::add-matcher::.github/pytest.json"
pytest
- name: Run pytest under Mac without acceptance tests
if: runner.os == 'macOS'
run: |
echo "::add-matcher::.github/pytest.json"
pytest --ignore=tests/acceptance_tests

0 comments on commit a004113

Please sign in to comment.