Debian Codegraph @

.github/workflows/ci.yaml

raw symbols SCIP
1 name: CI
2
3 on:
4 - pull_request
5 - push
6
7 jobs:
8 mypy:
9 name: mypy
10 runs-on: ubuntu-latest
11 strategy:
12 matrix:
13 python-version:
14 - '3.8'
15 - '3.9'
16 - '3.10'
17 - '3.11'
18 - '3.12'
19 - '3.13'
20
21 steps:
22 - uses: actions/checkout@master
23
24 - name: Set up Python
25 uses: actions/setup-python@v4
26 with:
27 python-version: ${{ matrix.python-version }}
28
29 - name: Install dependencies
30 run: |
31 pip install mypy
32 pip install -r requirements.txt
33
34 - name: Run MyPy
35 run: mypy --install-types --non-interactive
36
37 tests:
38 name: Python ${{ matrix.implementation }}${{ matrix.python-version }}
39 runs-on: ubuntu-latest
40 strategy:
41 matrix:
42 python-version:
43 - '3.8'
44 - '3.9'
45 - '3.10'
46 - '3.11'
47 - '3.12'
48 - '3.13'
49 implementation:
50 - '' # CPython
51 - 'pypy' # PyPy
52 exclude: # unreleased;
53 - implementation: 'pypy'
54 python-version: '3.11'
55 - implementation: 'pypy'
56 python-version: '3.12'
57 - implementation: 'pypy'
58 python-version: '3.13'
59
60 steps:
61 - uses: actions/checkout@master
62
63 - name: Set up Python ${{ matrix.implementation }}${{ matrix.python-version }}
64 uses: actions/setup-python@v4
65 with:
66 python-version: ${{ matrix.implementation }}${{ matrix.python-version }}
67
68 - name: Install tox
69 run: pip install tox
70
71 - name: Run tests
72 run: pip install python-dateutil && tox -e py