Skip to content

Commit 85d631a

Browse files
committed
try adding a linting in gha
1 parent 701a995 commit 85d631a

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
pull_request:
1010

1111
jobs:
12-
ci:
12+
test:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
fail-fast: false
@@ -38,13 +38,6 @@ jobs:
3838
- python:
3939
dotted: 2.7
4040
reactor: asyncio
41-
include:
42-
- os: ubuntu-latest
43-
python:
44-
short: 37
45-
dotted: 3.7
46-
reactor: default
47-
toxenv: linting
4841
steps:
4942
- uses: actions/checkout@v2
5043
- name: Set up Python ${{ matrix.python.dotted }}
@@ -77,3 +70,23 @@ jobs:
7770
- name: Test
7871
run: |
7972
tox -v -e "${{ env['TOXENV'] }}"
73+
lint:
74+
runs-on: ubuntu-latest
75+
strategy:
76+
matrix:
77+
python:
78+
- short: 37
79+
dotted: 3.7
80+
steps:
81+
- uses: actions/checkout@v2
82+
- name: Set up Python ${{ matrix.python.dotted }}
83+
uses: actions/setup-python@v1
84+
with:
85+
python-version: ${{ matrix.python.dotted }}
86+
architecture: x64
87+
- name: Install
88+
run: |
89+
pip install tox
90+
- name: Test
91+
run: |
92+
tox -v -e linting

0 commit comments

Comments
 (0)