change if statement

This commit is contained in:
Patrick Kanzler 2023-10-08 23:06:12 +02:00
parent b3ff39d8dd
commit 19e8c48aeb

View File

@ -26,7 +26,7 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install flake8 pytest tox tox-gh-actions pip install flake8 pytest tox tox-gh-actions
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi If (Test-Path .\requirements.txt) { pip install -r .\requirements.txt }
- name: Lint with flake8 - name: Lint with flake8
run: | run: |
# stop the build if there are Python syntax errors or undefined names # stop the build if there are Python syntax errors or undefined names