We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a27a5f2 commit 8435fa6Copy full SHA for 8435fa6
1 file changed
scripts/run-tests.sh
@@ -2,12 +2,12 @@
2
3
set -euxo pipefail
4
5
-# Running Python tests
6
-uv run pytest tests/
+source .venv/bin/activate
7
8
# Setting up LD_LIBRARY_PATH environment variable
9
# https://pyo3.rs/v0.28.2/building-and-distribution.html#dynamically-embedding-the-python-interpreter
10
LIB_DIR=$(python3 -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")
11
export LD_LIBRARY_PATH="$LIB_DIR:${LD_LIBRARY_PATH:-}"
12
13
-uv run cargo test --workspace --locked
+pytest tests/
+cargo test --workspace --locked
0 commit comments