From 374bbe48a370f43f970a77beee8e920e2ead349f Mon Sep 17 00:00:00 2001 From: Katie McLaughlin Date: Sat, 5 Oct 2024 17:19:47 +1000 Subject: [PATCH] Update tests dir validation logic --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a0874c..933ecfa 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 ] && pytest || echo "Tests directory not found" + if [ -d tests ]; then pytest; else echo "Tests directory not found"; fi