Skip to content

Commit b629722

Browse files
add linting step
1 parent f3b42fe commit b629722

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646
run: |
4747
python -m pip install -U pip
4848
49-
- name: Install tox
49+
- name: Install tox and coverage packages
5050
run: |
51-
pip install flake8 tox tox-gh-actions 'coverage<5' coveralls
51+
pip install tox tox-gh-actions 'coverage<5' coveralls
5252
5353
- name: Run tox and coverage
5454
run: |
@@ -59,3 +59,20 @@ jobs:
5959
# - name: Upload coverage to coveralls
6060
# run: |
6161
# coveralls
62+
63+
lint:
64+
runs-on: ubuntu-latest
65+
66+
steps:
67+
- uses: actions/checkout@v2
68+
69+
- name: Set up Python 3.6
70+
uses: actions/setup-python@v2
71+
with:
72+
python-version: '3.6'
73+
74+
- name: Install tox and flake8 packages
75+
run: pip install tox tox-gh-actions flake8
76+
77+
- name: Lint
78+
run: tox -e flake8

0 commit comments

Comments
 (0)