Skip to content

Commit c8a6fea

Browse files
committed
ci: Specify maturin build output directory and set release workflow's Python version to 3.11.
1 parent fbe818d commit c8a6fea

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
8989
- name: Build Extension
9090
run: |
91-
maturin build --release
91+
maturin build --release --out dist
9292
pip install dist/*.whl --force-reinstall
9393
9494
- name: Run Python Tests
@@ -213,7 +213,7 @@ jobs:
213213
- name: Install Dependencies
214214
run: |
215215
pip install maturin
216-
maturin build --release
216+
maturin build --release --out dist
217217
pip install dist/*.whl --force-reinstall
218218
219219
- name: Run Benchmarks

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,16 @@ jobs:
1818
# Job 1: Run Tests
1919
# ============================================
2020
test:
21-
name: Test Python ${{ matrix.python-version }}
21+
name: Test Python 3.11
2222
runs-on: ubuntu-latest
23-
strategy:
24-
fail-fast: false
25-
matrix:
26-
python-version: ['3.9', '3.10', '3.11', '3.12']
2723

2824
steps:
2925
- uses: actions/checkout@v4
3026

31-
- name: Set up Python ${{ matrix.python-version }}
27+
- name: Set up Python
3228
uses: actions/setup-python@v5
3329
with:
34-
python-version: ${{ matrix.python-version }}
30+
python-version: '3.11'
3531

3632
- name: Install Rust
3733
uses: dtolnay/rust-toolchain@stable
@@ -54,7 +50,7 @@ jobs:
5450
5551
- name: Build Extension
5652
run: |
57-
maturin build --release
53+
maturin build --release --out dist
5854
pip install dist/*.whl --force-reinstall
5955
6056
- name: Run Tests

0 commit comments

Comments
 (0)