Skip to content

Commit 9a64c52

Browse files
committed
Fix workflow
1 parent 866c0ae commit 9a64c52

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/python-app.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,11 @@ jobs:
2020
uses: actions/setup-python@v2
2121
with:
2222
python-version: 3.8
23-
- uses: Gr1N/setup-poetry@v3
24-
- run: poetry --version
2523
- name: Install dependencies
2624
run: |
2725
python -m pip install --upgrade pip
2826
pip install flake8 pytest
29-
poetry install
27+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3028
- name: Lint with flake8
3129
run: |
3230
# stop the build if there are Python syntax errors or undefined names
@@ -35,4 +33,4 @@ jobs:
3533
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3634
- name: Test with pytest
3735
run: |
38-
pytest
36+
pytest

0 commit comments

Comments
 (0)