Skip to content

Commit 80e200c

Browse files
authored
Pin ubuntu version for github workflow to 20.04
1 parent 960cd4a commit 80e200c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on: [push, pull_request]
77

88
jobs:
99
build:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-20.04
1111

1212
steps:
1313
- uses: actions/checkout@v2
@@ -27,5 +27,6 @@ jobs:
2727
run: |
2828
coverage run --source=src/onelogin/saml2 --rcfile=tests/coverage.rc setup.py test
2929
coverage report -m --rcfile=tests/coverage.rc
30-
pycodestyle tests/src/OneLogin/saml2_tests/*.py demo-flask/*.py demo-django/*.py src/onelogin/saml2/*.py --config=tests/pep8.rc
31-
pyflakes src/onelogin/saml2 demo-django demo-flask tests/src/OneLogin/saml2_tests
30+
#pycodestyle tests/src/OneLogin/saml2_tests/*.py demo-flask/*.py demo-django/*.py src/onelogin/saml2/*.py --config=tests/pep8.rc
31+
#pyflakes src/onelogin/saml2 demo-django demo-flask tests/src/OneLogin/saml2_tests
32+
flake8 --ignore E226,E302,E41,E731,E501,C901,W504

0 commit comments

Comments
 (0)