From a839ea9b3b5ab2f4fecb2945df4d054f86aa062a Mon Sep 17 00:00:00 2001 From: Zac Deziel Date: Wed, 8 Jan 2025 13:42:46 -0800 Subject: [PATCH] Add pythonpath --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97055af..ec5017e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,9 @@ jobs: - name: Run tests with coverage run: | - python -m pytest --cov=. --cov-report=html --cov-report=term-missing test/ + echo $(pwd) + echo $(ls .) + PYTHONPATH=$(pwd)/qgis_earthengine_plugin python -m pytest --import-mode=importlib --cov=. --cov-report=html --cov-report=term-missing test/ - name: Upload coverage report uses: actions/upload-artifact@v4