We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 866c0ae commit 9a64c52Copy full SHA for 9a64c52
.github/workflows/python-app.yml
@@ -20,13 +20,11 @@ jobs:
20
uses: actions/setup-python@v2
21
with:
22
python-version: 3.8
23
- - uses: Gr1N/setup-poetry@v3
24
- - run: poetry --version
25
- name: Install dependencies
26
run: |
27
python -m pip install --upgrade pip
28
pip install flake8 pytest
29
- poetry install
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
30
- name: Lint with flake8
31
32
# stop the build if there are Python syntax errors or undefined names
@@ -35,4 +33,4 @@ jobs:
35
33
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
36
34
- name: Test with pytest
37
38
- pytest
+ pytest
0 commit comments