Skip to content

Commit

Permalink
Pin ndarray:0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Oct 16, 2024
1 parent 53bd24d commit 8d616cf
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
override: true
components: rustfmt, clippy

- name: Run cargo update for ndarray 0.15
uses: actions-rs/cargo@v1
with:
command: update
args: --package ndarray:0.16.1 --precise 0.15.6

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:
python -m pip install --upgrade pip
pip install maturin numpy pytest poetry
- name: Run cargo update for ndarray 0.15
uses: actions-rs/cargo@v1
with:
command: update
args: --package ndarray:0.16.1 --precise 0.15.6

- name: Test Python
run: |
poetry install
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
- name: Log active toolchain
run: rustup show

- name: Run cargo update for ndarray 0.15
uses: actions-rs/cargo@v1
with:
command: update
args: --package ndarray:0.16.1 --precise 0.15.6

- name: Run cargo test in release mode
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -72,6 +78,12 @@ jobs:
- name: Log active toolchain
run: rustup show

- name: Run cargo update for ndarray 0.15
uses: actions-rs/cargo@v1
with:
command: update
args: --package ndarray:0.16.1 --precise 0.15.6

- name: Run cargo test in release mode
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit 8d616cf

Please sign in to comment.