From 8d616cf783bd6b996703aac9160752310346fc48 Mon Sep 17 00:00:00 2001 From: relf Date: Wed, 16 Oct 2024 08:28:55 +0200 Subject: [PATCH] Pin ndarray:0.15 --- .github/workflows/lint.yml | 6 ++++++ .github/workflows/pytest.yml | 6 ++++++ .github/workflows/test.yml | 12 ++++++++++++ 3 files changed, 24 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 73f7ce39..78af5849 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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: diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 1a4a37b8..5ba2f189 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f87e8d50..a68aea0e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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: