diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a68b847..2eb076e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,4 +24,4 @@ jobs: pip install '.[test]' - name: Run tests run: | - [ -d tests ] && python -m pytest || echo "Tests directory not found" + if [ -d tests ]; then python -m pytest; else echo "Tests directory not found"; fi