diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index bfe508be2..d42e56bde 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -53,6 +53,7 @@ jobs: - name: Cycamore Python Tests run: | - export PYTHONPATH=$(python -m site --user-site) - echo $PYTHONPATH + export major=$(python -c "import sys; print(sys.version_info.major)") + export minor=$(python -c "import sys; print(sys.version_info.minor)") + export PYTHONPATH=/root/.local/lib/python${major}.${minor}/site-packages cd tests && python -m pytest