Skip to content

Commit

Permalink
DX: run slow tests on GitHub Actions (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer authored Apr 30, 2024
1 parent 6fa3866 commit a8ccf0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ jobs:
- uses: ComPWA/actions/cache-sympy@v1

- if: matrix.coverage-target == '' && inputs.multithreaded
run: pytest -n auto
run: pytest -m "not slow or slow" -n auto
- if: matrix.coverage-target == '' && ! inputs.multithreaded
run: pytest
run: pytest -m "not slow or slow"

- if: matrix.coverage-target != ''
run: pytest --cov=${{ matrix.coverage-target }} --cov-report=xml
run: pytest -m "not slow or slow" --cov=${{ matrix.coverage-target }} --cov-report=xml
- if: matrix.coverage-target != ''
uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit a8ccf0d

Please sign in to comment.