Skip to content

Commit

Permalink
Only run pytest if tests exist
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Jan 16, 2024
1 parent 527bf9d commit b1a084f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ jobs:
pip install '.[test]'
- name: Run tests
run: |
pytest
[ -d tests ] && pytest || echo "Tests directory not found"

0 comments on commit b1a084f

Please sign in to comment.