Skip to content

Commit

Permalink
update python-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BirchKwok committed Apr 24, 2024
1 parent 78c28de commit bc8285c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest numba torch
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
$reqFile = "requirements.txt"
if (Test-Path $reqFile) { pip install -r $reqFile }
shell: pwsh
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down

0 comments on commit bc8285c

Please sign in to comment.