Skip to content

Commit 5559ee5

Browse files
committed
Split lint from tests and only run on 3.9 (black requires 3.6+)
1 parent aa7228c commit 5559ee5

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

.github/workflows/tests.yaml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,22 @@ on:
44
- pull_request
55

66
jobs:
7-
lint-unit-and-func-tests:
8-
name: Lint, Unit, & Functional Tests
7+
lint:
8+
name: Lint
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out code
12+
uses: actions/checkout@v2
13+
- name: Setup Python
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: 3.9
17+
- name: Install Tox
18+
run: pip install tox
19+
- name: Run lint
20+
run: tox -e lint
21+
unit-and-func-tests:
22+
name: Unit, & Functional Tests
923
runs-on: ubuntu-latest
1024
strategy:
1125
matrix:
@@ -19,8 +33,8 @@ jobs:
1933
python-version: ${{ matrix.python }}
2034
- name: Install Tox
2135
run: pip install tox
22-
- name: Run lint, unit, and functional tests
23-
run: tox
36+
- name: Run unit & functional tests
37+
run: tox -e unit,functional
2438

2539
# TODO
2640
#integration-test:

0 commit comments

Comments
 (0)