Skip to content

Commit 8435fa6

Browse files
committed
Fix run-tests
1 parent a27a5f2 commit 8435fa6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/run-tests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
set -euxo pipefail
44

5-
# Running Python tests
6-
uv run pytest tests/
5+
source .venv/bin/activate
76

87
# Setting up LD_LIBRARY_PATH environment variable
98
# https://pyo3.rs/v0.28.2/building-and-distribution.html#dynamically-embedding-the-python-interpreter
109
LIB_DIR=$(python3 -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")
1110
export LD_LIBRARY_PATH="$LIB_DIR:${LD_LIBRARY_PATH:-}"
1211

13-
uv run cargo test --workspace --locked
12+
pytest tests/
13+
cargo test --workspace --locked

0 commit comments

Comments
 (0)