Skip to content

Commit

Permalink
fix yml for enable windows
Browse files Browse the repository at this point in the history
  • Loading branch information
yjchoi1 committed Oct 20, 2023
1 parent 6a797c0 commit e7e3ef6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ "${{ runner.os }}" == "Windows" ]; then
if exist requirements.txt (pip install -r requirements.txt)
else
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down

0 comments on commit e7e3ef6

Please sign in to comment.