Skip to content

Commit 21a14c3

Browse files
igerberclaude
andcommitted
Fix CI workflow action name and dependencies
- Change dtolnay/rust-action to dtolnay/rust-toolchain (correct action name) - Add maturin to pip install in python-fallback job - Add fallback install command for edge cases Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 5823ed9 commit 21a14c3

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/rust-test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/checkout@v4
3131

3232
- name: Install Rust toolchain
33-
uses: dtolnay/rust-action@stable
33+
uses: dtolnay/rust-toolchain@stable
3434

3535
- name: Install OpenBLAS
3636
run: sudo apt-get update && sudo apt-get install -y libopenblas-dev
@@ -66,7 +66,7 @@ jobs:
6666
run: brew install openblas
6767

6868
- name: Install Rust toolchain
69-
uses: dtolnay/rust-action@stable
69+
uses: dtolnay/rust-toolchain@stable
7070

7171
- name: Build with maturin
7272
uses: PyO3/maturin-action@v1
@@ -99,10 +99,11 @@ jobs:
9999
with:
100100
python-version: '3.11'
101101

102-
- name: Install without Rust
102+
- name: Install dependencies and package
103103
run: |
104-
pip install numpy pandas scipy pytest
105-
pip install -e . --no-build-isolation
104+
pip install numpy pandas scipy pytest maturin
105+
# Install in editable mode - Rust build will be skipped if no Rust toolchain
106+
pip install -e . --no-build-isolation || pip install -e .
106107
107108
- name: Verify pure Python mode
108109
run: |

0 commit comments

Comments
 (0)