Skip to content

Commit

Permalink
👷 Pin NumPy to 1.26 during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
francois-rozet committed Jul 20, 2024
1 parent f9b25c0 commit 5f1ba2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.10"]
numpy-version: ["1.26"]
torch-version: ["1.12", "2.0"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install pytest
pip install numpy==${{ matrix.numpy-version }}
pip install torch==${{ matrix.torch-version }} --extra-index-url https://download.pytorch.org/whl/cpu
pip install .
- name: Test with pytest
Expand Down

0 comments on commit 5f1ba2b

Please sign in to comment.