Removing unnecessary logic
authorDaniel Feldroy <pydanny@users.noreply.github.com>
Mon, 21 Sep 2020 17:33:36 +0000 (10:33 -0700)
committerGitHub <noreply@github.com>
Mon, 21 Sep 2020 17:33:36 +0000 (10:33 -0700)
I know there is a `requirements.txt` file, I don't need to check for it.

.github/workflows/python-package.yml

index 4d42aaec58cd52bcc6e7730f30e1d0c9ca3502a8..ffe5988a47b88095cb4fdda519280183fdcf329e 100644 (file)
@@ -31,7 +31,7 @@ jobs:
       run: |
         python -m pip install --upgrade pip
         pip install flake8 pytest
-        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
+        pip install -r requirements.txt
     - name: Lint with flake8
       run: |
         # stop the build if there are Python syntax errors or undefined names