Skip to content

Commit 0844781

Browse files
committed
Update cargo tests
1 parent e24bd55 commit 0844781

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/actions/tests/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ runs:
3030
shell: bash -euxo pipefail {0}
3131
run: |
3232
uv run pytest tests/
33+
./scripts/set_ld_path.sh
3334
cargo test --workspace --locked

scripts/set_ld_path.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
LIB_DIR=$(python3 -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")
4+
export LD_LIBRARY_PATH="$LIB_DIR:$LD_LIBRARY_PATH"

0 commit comments

Comments
 (0)