Skip to content

Commit

Permalink
ci(wrappers/python): correct path to non-github-specific script
Browse files Browse the repository at this point in the history
  • Loading branch information
SKalt committed Aug 25, 2024
1 parent 54f70ad commit 288d219
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions wrappers/python/scripts/ci/github/integration_tests.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/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
python3 -c 'import sys; print("pythonpath"\n" + "\n".join(sys.path))'
python3 -c 'import sys; print("pythonpath\n" + "\n".join(sys.path))'
python3 -c '
import logging
import os
Expand Down

0 comments on commit 288d219

Please sign in to comment.