10
10
jobs :
11
11
formatting :
12
12
name : Formatting and static analysis
13
- runs-on : ubuntu-22 .04
13
+ runs-on : ubuntu-24 .04
14
14
steps :
15
15
- uses : actions/checkout@v4
16
16
- uses : actions/setup-python@v5
24
24
type-checking :
25
25
name : Type checking
26
26
needs : formatting
27
- runs-on : ubuntu-22 .04
27
+ runs-on : ubuntu-24 .04
28
28
steps :
29
29
- uses : actions/checkout@v4
30
30
- uses : actions/setup-python@v5
@@ -35,28 +35,23 @@ jobs:
35
35
- run : tox -e mypy
36
36
37
37
tests :
38
- name : Tests ${{ matrix.os }} ${{ matrix.tox }}
38
+ name : Tests
39
39
needs : formatting
40
- runs-on : ${{ matrix.os }}
41
40
strategy :
42
41
matrix :
43
42
include :
44
- - {python: '3.13', os: ubuntu-22 .04, tox: py313-full}
45
- - {python: '3.12', os: ubuntu-22 .04, tox: py312-full}
46
- - {python: '3.11', os: ubuntu-22 .04, tox: py311-full}
47
- - {python: '3.10', os: ubuntu-22 .04, tox: py310-full}
43
+ - {python: '3.13', os: ubuntu-24 .04, tox: py313-full}
44
+ - {python: '3.12', os: ubuntu-24 .04, tox: py312-full}
45
+ - {python: '3.11', os: ubuntu-24 .04, tox: py311-full}
46
+ - {python: '3.10', os: ubuntu-24 .04, tox: py310-full}
48
47
- {python: '3.10', os: macos-14, tox: py310}
49
48
- {python: '3.10', os: windows-2022, tox: py310}
50
- steps :
51
- - run : sudo apt install --yes docker-compose
52
- if : ${{ contains(matrix.os, 'ubuntu') }}
53
- - uses : actions/checkout@v4
54
- - uses : actions/setup-python@v5
55
- with :
56
- python-version : ${{ matrix.python }}
57
- - run : python -m pip install --upgrade pip
58
- - run : python -m pip install -r requirements/ci.txt
59
- - run : tox -e ${{ matrix.tox }}
49
+ uses : ./.github/workflows/test.yml
50
+ with :
51
+ os-variant : ${{ matrix.os }}
52
+ python-version : ${{ matrix.python }}
53
+ tox-env : ${{ matrix.tox }}
54
+ secrets : inherit
60
55
61
56
docs :
62
57
needs : tests
0 commit comments