Skip to content

Commit

Permalink
[CI] Fix arg to check marks (#100)
Browse files Browse the repository at this point in the history
We used `-k "not benchmark"` which would filter out ANY test that
contained the word 'benchmark'.

This change fixes that by using the `-m` argument to only filter on
marks.

Same change as hugsy/gef#1064
  • Loading branch information
Grazfather authored Jan 30, 2024
1 parent e4dda90 commit 3a63c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Run Tests
run: |
python${{ env.PY_VER }} -m pytest --forked -n ${{ env.NB_CPU }} -v -k "not benchmark" tests/
python${{ env.PY_VER }} -m pytest --forked -n ${{ env.NB_CPU }} -v -m "not benchmark" tests/
standalone:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3a63c22

Please sign in to comment.