66 strategy :
77 fail-fast : false
88 matrix :
9- python-version : ['3.12', '3.11', '3.10', '3.9']
9+ python-version : ['3.13', '3. 12', '3.11', '3.10', '3.9']
1010 poetry-version : [1.8]
1111 os : [ubuntu-22.04, macos-latest, windows-latest]
1212 runs-on : ${{ matrix.os }}
2727 # exclude examples in CI because some 3.10 features are used
2828 run : poetry run mypy . --exclude examples --exclude tests/test_310_plus.py --exclude tests/test_311_plus.py --exclude tests/test_39_plus.py
2929 - name : mypy 3.11
30- if : matrix.python-version == 3.11 || matrix.python-version == 3.12
30+ if : matrix.python-version == 3.11 || matrix.python-version == 3.12 || matrix.python-version == 3.13
3131 run : poetry run mypy .
3232 - name : mypy 3.10
3333 if : matrix.python-version == 3.10
3939 if : matrix.python-version == 3.10
4040 run : poetry run pytest --ignore tests/test_311_plus.py
4141 - name : run 3.11/3.12 tests
42- if : matrix.python-version == 3.11 || matrix.python-version == 3.12
42+ if : matrix.python-version == 3.11 || matrix.python-version == 3.12 || matrix.python-version == 3.13
4343 run : poetry run pytest --ignore tests/test_311_plus.py
4444 - name : run all examples
4545 if : matrix.python-version == 3.10
@@ -48,12 +48,12 @@ jobs:
4848 if : matrix.python-version == 3.9
4949 run : poetry run flake8 --exclude codegen,bench,examples,tests/test_310_plus.py,tests/test_311_plus.py --ignore E721,E741,W503,F405,F403,F401
5050 - name : linting 3.10+
51- if : matrix.python-version == 3.10 || matrix.python-version == 3.11 || matrix.python-version == 3.12
51+ if : matrix.python-version == 3.10 || matrix.python-version == 3.11 || matrix.python-version == 3.12 || matrix.python-version == 3.13
5252 run : poetry run flake8 --exclude codegen --ignore E721,E741,W503,F405,F403,F401,DAR101,DAR201,DAR401
5353 - name : darglint
5454 run : poetry run darglint koda_validate
5555 - name : doctests
56- if : matrix.python-version == 3.10 || matrix.python-version == 3.11 || matrix.python-version == 3.12
56+ if : matrix.python-version == 3.10 || matrix.python-version == 3.11 || matrix.python-version == 3.12 || matrix.python-version == 3.13
5757 run : cd docs && poetry run make doctest
5858 - name : benchmarks
5959 run : poetry run python -m bench.run
0 commit comments