Skip to content

Commit

Permalink
chore: adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
nayakazna committed Feb 3, 2025
1 parent 7cde22d commit ecfdca4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements.txt ]; then
if [[ "$RUNNER_OS" == "Linux" ]]; then
pip install --find-links=libs -r requirements.txt # For Linux systems
else
pip install -r requirements.txt # For Windows systems, uses local .whl
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 ecfdca4

Please sign in to comment.