Skip to content

Commit 512a872

Browse files
authored
Update tests dir validation logic (#4)
1 parent 425f19e commit 512a872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
pip install '.[test]'
2525
- name: Run tests
2626
run: |
27-
[ -d tests ] && python -m pytest || echo "Tests directory not found"
27+
if [ -d tests ]; then python -m pytest; else echo "Tests directory not found"; fi

0 commit comments

Comments
 (0)