Skip to content

Commit d4411c7

Browse files
committed
Fix: Prevent numpy upgrading in CI during pip install
1 parent 9f932b4 commit d4411c7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ jobs:
6262
run: |
6363
python -m pip install --upgrade pip
6464
pip install "numpy==${{ matrix.numpy-version }}"
65-
if [ "${{ matrix.jax-version }}" != "latest" ]; then
66-
pip install "jax==${{ matrix.jax-version }}" "jaxlib==${{ matrix.jax-version }}"
67-
fi
68-
pip install -e ".[dev]"
65+
if [ "${{ matrix.jax-version }}" != "latest" ]; then
66+
pip install "jax==${{ matrix.jax-version }}" "jaxlib==${{ matrix.jax-version }}" "numpy==${{ matrix.numpy-version }}"
67+
fi
68+
pip install -e ".[dev]" "numpy==${{ matrix.numpy-version }}"
6969
7070
shell: bash
7171

0 commit comments

Comments
 (0)