Skip to content

Commit 8636f54

Browse files
committed
work on getting tests to run
1 parent f596924 commit 8636f54

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ jobs:
2020
- uses: actions/checkout@v4
2121
with:
2222
submodules: true
23-
- uses: actions/setup-python@v4
23+
- name: Install uv
24+
uses: astral-sh/setup-uv@v5
2425
with:
25-
python-version: "3.12"
26-
cache: pip
27-
cache-dependency-path: '**/requirements.dev.txt'
26+
enable-cache: true
27+
- name: Set up Python
28+
run: uv python install
2829
- uses: ./.github/actions/setup-rust
2930
with:
3031
target: aarch64-unknown-linux-gnu
@@ -37,12 +38,10 @@ jobs:
3738
run: cargo build --workspace --release
3839
- name: Run rust tests
3940
run: cargo test --workspace --release
40-
- name: Build python stuff
41-
run: pip install -r python/requirements.dev.txt
4241
- name: Build python package
4342
run: maturin build --release --features abi3
4443
working-directory: ./python
4544
- name: Test python package
46-
run: python -m unittest test.py
45+
run: uv run python -m unittest test.py
4746
working-directory: ./python
4847

0 commit comments

Comments
 (0)