diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 03aa488e..b7116138 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -143,7 +143,10 @@ jobs: - name: ensure cog up-to-date working-directory: ./wrappers/python - run: ./scripts/ci/github/cog/check.sh + run: | + export VIRTUAL_ENV="$PWD/.venv" + export PATH="$VIRTUAL_ENV/bin:$PATH" + ./scripts/ci/cog/check.sh - name: Test python API timeout-minutes: 1 diff --git a/wrappers/python/scripts/ci/github/integration_tests.sh b/wrappers/python/scripts/ci/github/integration_tests.sh index 83be21cc..564892bf 100755 --- a/wrappers/python/scripts/ci/github/integration_tests.sh +++ b/wrappers/python/scripts/ci/github/integration_tests.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -eu export PATH="$PWD/target/release:$PATH" -export PYTHONPATH="$PWD/wrappers/python/src:$PYTHONPATH" +export PYTHONPATH="$PWD/wrappers/python/src:${PYTHONPATH:-}" export PAGEFIND_PYTHON_LOG_LEVEL=DEBUG cd wrappers/python