Fix pytest import path for honest CI
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[pytest]
|
||||
pythonpath = .
|
||||
testpaths = tests
|
||||
Reference in New Issue
Block a user