File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : actions/checkout@v4
14
+ - uses : astral-sh/setup-uv@v6
14
15
- uses : actions/cache@v4
15
16
with :
16
17
path : |
94
95
- uses : actions-rs/toolchain@v1
95
96
with :
96
97
toolchain : stable
98
+ - uses : astral-sh/setup-uv@v6
97
99
- run : cargo build --examples --verbose
98
- - run : make test python=/usr/local/opt/python@3/libexec/bin/python
100
+ - run : make test
99
101
- name : Upload artifacts
100
102
uses : actions/upload-artifact@v4
101
103
with :
@@ -122,6 +124,7 @@ jobs:
122
124
- uses : actions-rs/toolchain@v1
123
125
with :
124
126
toolchain : stable
127
+ - uses : astral-sh/setup-uv@v6
125
128
- run : cargo build --examples --verbose
126
129
- run : make test
127
130
- name : Upload artifacts
Original file line number Diff line number Diff line change 1
-
2
- ifdef python
3
- PYTHON =$(python )
4
- else
5
- PYTHON =python3
6
- endif
7
-
8
1
test :
9
2
cargo test
10
3
cargo test --features=exec
11
4
cargo test --features=static
12
5
cargo build --examples --features=
13
- $( PYTHON ) examples/test-examples.py
6
+ uv run python examples/test-examples.py
You can’t perform that action at this time.
0 commit comments