Skip to content

Commit 5b14372

Browse files
committed
SP-1085 Move black and mypy to their own job
1 parent a325b3b commit 5b14372

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,13 @@ name: Build
33
on: [push, pull_request]
44

55
jobs:
6-
build-and-test:
6+
check:
77
runs-on: ubuntu-latest
8-
9-
strategy:
10-
matrix:
11-
python-version: [3.9, '3.10', 3.11, 3.12, 3.13]
12-
138
steps:
149
- uses: actions/checkout@v4
1510
- uses: actions/setup-python@v5
1611
with:
17-
python-version: ${{ matrix.python-version }}
12+
python-version: 3.13
1813
- name: Install pipenv
1914
run: |
2015
pip3 install pipenv
@@ -29,6 +24,27 @@ jobs:
2924
run: |
3025
pipenv run mypy --install-types --non-interactive src/
3126
pipenv run mypy -p src
27+
28+
test:
29+
runs-on: ubuntu-latest
30+
31+
strategy:
32+
matrix:
33+
python-version: [3.9, '3.10', 3.11, 3.12, 3.13]
34+
35+
steps:
36+
- uses: actions/checkout@v4
37+
- uses: actions/setup-python@v5
38+
with:
39+
python-version: ${{ matrix.python-version }}
40+
- name: Install pipenv
41+
run: |
42+
pip3 install pipenv
43+
pip3 install --upgrade pip
44+
- name: Install dependencies
45+
run: |
46+
pipenv install --dev
47+
pipenv run pip3 install typing-extensions
3248
- name: Run unit tests
3349
run: pipenv run pytest -vv -s -m unit
3450
- name: Run a test build

0 commit comments

Comments
 (0)