4242 fail-fast : false
4343 matrix :
4444 os : [ 'ubuntu-24.04', 'ubuntu-22.04' ]
45- python : [ '3.12', '3.11', '3.10', '3.9','3.8' ]
45+ python : [ '3.13', '3. 12', '3.11', '3.10', '3.9', '3.8' ]
4646
4747 runs-on : ${{ matrix.os }}
4848 name : Python ${{ matrix.python }} on ${{ matrix.os }}
@@ -62,19 +62,19 @@ jobs:
6262
6363 - name : Install Python core deps (3.8 — 3.11)
6464 run : python -m pip install -r requirements.txt
65- if : ${{ matrix.python != '3.12' }}
65+ if : ${{ ( matrix.python != '3.12') && (matrix.python != '3.13') }}
6666
6767 - name : Install Python testing deps (3.8 — 3.11)
6868 run : python -m pip install -r requirements-test.txt
69- if : ${{ matrix.python != '3.12' }}
69+ if : ${{ ( matrix.python != '3.12') && (matrix.python != '3.13') }}
7070
71- - name : Install Python core deps (3.12)
71+ - name : Install Python core deps (3.12 — 3.13 )
7272 run : python -m pip install -r requirements-3.12.txt
73- if : ${{ matrix.python == '3.12' }}
73+ if : ${{ ( matrix.python == '3.12') || (matrix.python == '3.13') }}
7474
75- - name : Install Python testing deps (3.12)
75+ - name : Install Python testing deps (3.12 — 3.13 )
7676 run : python -m pip install -r requirements-3.12-test.txt
77- if : ${{ matrix.python == '3.12' }}
77+ if : ${{ ( matrix.python == '3.12') || (matrix.python == '3.13') }}
7878
7979 - name : Run Python tests
8080 run : make py-test
8686 run : make pytype-test
8787 # https://github.com/google/pytype/issues/1475
8888 #
89- # PyType does not yet support Python 3.12; if this step is enabled, it
90- # fails with an error: "Python versions > 3.11 are not yet supported."
91- if : ${{ matrix.python != '3.12' }}
89+ # PyType does not yet support Python 3.12 or later; if this step is
90+ # enabled, it fails with an error: "Python versions > 3.11 are not yet
91+ # supported."
92+ if : ${{ (matrix.python != '3.12') && (matrix.python != '3.13') }}
9293
9394 - name : Run nbconvert test
9495 run : make nbconvert-test
0 commit comments