From c72619596c7b5f910b676e57776ed867fcecbbec Mon Sep 17 00:00:00 2001 From: Antti Kettunen Date: Sun, 19 Apr 2026 20:45:36 +0300 Subject: [PATCH] Add missing PYTHONPATH to test run step Likely the cause for modules not being found --- .github/workflows/build-and-test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index cda10fb4..f94a3123 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -25,4 +25,6 @@ jobs: run: python -m compileall api core database services scripts web_server.py wsgi.py beatport_unified_scraper.py - name: Run tests - run: pytest + env: + PYTHONPATH: ${{ github.workspace }} + run: python -m pytest