Skip to content

Commit 371f6b1

Browse files
committed
Fix tests
1 parent 7f57bf4 commit 371f6b1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/actions/tests/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ runs:
2929
- name: Run Tests
3030
shell: bash -euxo pipefail {0}
3131
run: |
32+
pytest tests/
33+
3234
LIB_DIR=$(python3 -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")
3335
3436
if [[ "$RUNNER_OS" == "macOS" ]]; then
@@ -37,6 +39,6 @@ runs:
3739
export LD_LIBRARY_PATH="$LIB_DIR:${LD_LIBRARY_PATH:-}"
3840
fi
3941

40-
export PYTHONPATH="$(pwd)/python:$PYTHONPATH"
42+
source ./venv/bin/activate
4143

4244
cargo test --workspace --locked -- --nocapture

0 commit comments

Comments
 (0)