We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ff358c commit 4eac5f7Copy full SHA for 4eac5f7
1 file changed
.github/workflows/ci-cd.yml
@@ -30,7 +30,12 @@ jobs:
30
pip install -r requirements.txt
31
32
- name: Run unit tests
33
- run: python -m unittest discover -s tests -p "test_*.py" -v
+ run: |
34
+ if [ -d tests ] && ls tests/test_*.py >/dev/null 2>&1; then
35
+ python -m unittest discover -s tests -p "test_*.py" -v
36
+ else
37
+ echo "No repository tests found; skipping unit tests."
38
+ fi
39
40
docker:
41
runs-on: ubuntu-latest
0 commit comments