Skip to content

Commit 56c8128

Browse files
committed
test_translator: run with uv run in #!
1 parent 30ed45c commit 56c8128

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ jobs:
9898
# It's important that we keep `RUSTFLAGS` consistent between different steps
9999
# so that we don't have to rebuild everything.
100100
echo "RUSTFLAGS=-Clink-arg=-L/opt/homebrew/lib -Clink-arg=-Wl,-rpath,/opt/homebrew/lib" >> $GITHUB_ENV
101-
102101
103102
- name: cargo build --release
104103
run: |
@@ -120,4 +119,4 @@ jobs:
120119
# causing tons of errors, so don't set that.
121120
# `test_translator.py` does not rebuild,
122121
# so changing `RUSTFLAGS` will not trigger a full rebuild.
123-
uv run ./scripts/test_translator.py tests/
122+
./scripts/test_translator.py tests/

scripts/run_ci_checks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ test-translator() {
5050
unset RUSTFLAGS
5151
uv venv
5252
uv pip install -r ./scripts/requirements.txt
53-
uv run ./scripts/test_translator.py tests/
53+
./scripts/test_translator.py tests/
5454
}
5555

5656
all() {

scripts/test_translator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env -S uv run
22

33
import errno
44
import os

0 commit comments

Comments
 (0)