Fix pytest import path for honest CI
CI / skip-ci-check (pull_request) Successful in 30s
CI / secret-scan (pull_request) Successful in 29s
CI / python-ci (pull_request) Failing after 56s

This commit is contained in:
2026-08-05 18:39:14 -04:00
parent e8d5354ca9
commit 549824ac0e
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ jobs:
run: |
if [ -d tests ] || ls test_*.py *_test.py 2>/dev/null; then
pip install pytest --break-system-packages
pytest -q
PYTHONPATH=. pytest -q
else
echo "No tests found — skip"
fi
+3
View File
@@ -0,0 +1,3 @@
[pytest]
pythonpath = .
testpaths = tests