We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8a9448a + d4ff61e commit 00a1f04Copy full SHA for 00a1f04
1 file changed
.github/workflows/ci.yml
@@ -39,7 +39,11 @@ jobs:
39
40
- name: Run tests
41
run: |
42
- pytest tests/ -v --tb=short || echo "No tests yet"
+ if find tests -name 'test_*.py' -o -name '*_test.py' 2>/dev/null | grep -q .; then
43
+ pytest tests/ -v --tb=short
44
+ else
45
+ echo "No test files found - skipping"
46
+ fi
47
48
security:
49
runs-on: ubuntu-latest
@@ -60,4 +64,4 @@ jobs:
60
64
61
65
- name: Security scan with bandit
62
66
63
- bandit -r src/aiana -ll || true
67
+ bandit -r src/aiana --severity-level medium
0 commit comments