Skip to content

Commit

Permalink
Add pytestmark check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MattToast committed Jul 24, 2024
1 parent 2da5548 commit 8825ee6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ jobs:
SMARTSIM_REDISAI: ${{ matrix.rai }}

steps:
- name: Check Test Files are Marked
run: |
diff <(find tests -path tests/_legacy -prune -o -type f -name 'test_*.py' -print \
| xargs grep -l 'pytestmark' \
| sort) \
<(find tests -path tests/_legacy -prune -o -type f -name 'test_*.py' -print \
| sort)
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit 8825ee6

Please sign in to comment.