From 9c26ae3e9027be613f723acac3c654504b1b702e Mon Sep 17 00:00:00 2001 From: ngxstat-bot Date: Sat, 16 Aug 2025 05:29:20 -0500 Subject: [PATCH] ci: ensure repo root on PYTHONPATH when running pytest --- .forgejo/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index cd7fb36..5cf26be 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -115,6 +115,7 @@ jobs: - name: Run tests (pytest) run: | . .venv/bin/activate + export PYTHONPATH="$(pwd)${PYTHONPATH:+:$PYTHONPATH}" pytest -q --maxfail=1 - name: Build sample reports (no artifact upload)