From 19e8c48aeb3722931920575aa16a1ad9ea4f3d89 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sun, 8 Oct 2023 23:06:12 +0200 Subject: [PATCH] change if statement --- .github/workflows/pythonpackage-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage-windows.yml b/.github/workflows/pythonpackage-windows.yml index 5df7467..97438c7 100644 --- a/.github/workflows/pythonpackage-windows.yml +++ b/.github/workflows/pythonpackage-windows.yml @@ -26,7 +26,7 @@ jobs: run: | python -m pip install --upgrade pip 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 run: | # stop the build if there are Python syntax errors or undefined names