Skip to content

Commit 8da4ee5

Browse files
Update python-package.yml
1 parent 6ac98b4 commit 8da4ee5

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: [3.5, 3.6, 3.7, 3.8]
18+
python-version: [3.6]
1919

2020
steps:
2121
- uses: actions/checkout@v2
@@ -26,14 +26,11 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
pip install flake8 pytest
30-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
pip install flake8
3130
- name: Lint with flake8
3231
run: |
3332
# stop the build if there are Python syntax errors or undefined names
3433
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3534
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3635
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
37-
- name: Test with pytest
38-
run: |
39-
pytest
36+

0 commit comments

Comments
 (0)