diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3904864..8f8f1bc 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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 diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..c7b23ec --- /dev/null +++ b/pytest.ini @@ -0,0 +1,3 @@ +[pytest] +pythonpath = . +testpaths = tests