Skip to content

Commit

Permalink
attempting to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tvercaut committed Sep 26, 2024
1 parent b5fec85 commit 350570f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,13 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade numpy
pip install torch==${{ matrix.torch-version }}
python -m pip install flake8 black
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
- name: numpy downgrade
if: matrix.torch-version == "1.13.1"
run: |
pip install "numpy<2"
- name: Lint check with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down

0 comments on commit 350570f

Please sign in to comment.