Skip to content

Commit 69d898f

Browse files
authored
Use separate CI jobs for 'lint' and 'test' (#216)
1 parent 6406883 commit 69d898f

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ on:
1010
- main
1111

1212
jobs:
13-
build:
13+
lint:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: [3.9, '3.10', '3.11', '3.12', '3.13', 'pypy-3.9', 'pypy-3.10']
17+
python-version: ['3.13']
1818

1919
steps:
2020
- uses: actions/checkout@v5
@@ -34,6 +34,24 @@ jobs:
3434
- name: Typing
3535
run: |
3636
python -m mypy
37+
38+
test:
39+
runs-on: ubuntu-latest
40+
strategy:
41+
matrix:
42+
python-version: [3.9, '3.10', '3.11', '3.12', '3.13', 'pypy-3.9', 'pypy-3.10']
43+
44+
steps:
45+
- uses: actions/checkout@v5
46+
- name: Set up Python ${{ matrix.python-version }}
47+
uses: actions/setup-python@v5
48+
with:
49+
python-version: ${{ matrix.python-version }}
50+
cache: 'pip'
51+
- name: Install dependencies
52+
run: |
53+
python -m pip install --upgrade pip
54+
pip install -e . --group dev
3755
- name: Tests
3856
run: |
3957
python -m pytest -v

0 commit comments

Comments
 (0)