1515 strategy :
1616 matrix :
1717 os : [ubuntu-24.04, windows-2025, macos-15]
18- python-version : ["3.11", "3. 12", "3.13", "3.14"]
18+ python-version : ["3.12", "3.13", "3.14"]
1919 steps :
2020 - name : Checkout repo
2121 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
@@ -38,14 +38,18 @@ jobs:
3838 parallel : true
3939
4040 docs :
41- runs-on : ubuntu-latest
41+ runs-on : ${{ matrix.os }}
42+ strategy :
43+ matrix :
44+ os : [ubuntu-24.04, windows-2025, macos-15]
45+ python-version : ["3.12", "3.13", "3.14"]
4246 timeout-minutes : 15
4347 steps :
4448 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
45- - name : Set up Python 3.14
49+ - name : Set up Python ${{ matrix.python-version }}
4650 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4751 with :
48- python-version : 3.14.0
52+ python-version : ${{ matrix.python-version }}
4953 - name : Install python dependencies
5054 run : |
5155 pip install --upgrade pip
@@ -54,19 +58,28 @@ jobs:
5458 run : cd docs && make
5559
5660 pre-commit :
57- runs-on : ubuntu-24.04
61+ runs-on : ${{ matrix.os }}
62+ strategy :
63+ matrix :
64+ os : [ubuntu-24.04, windows-2025, macos-15]
65+ python-version : ["3.12", "3.13", "3.14"]
5866 timeout-minutes : 15
5967 steps :
6068 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
61- - name : Set up Python 3.14
69+ - name : Set up Python ${{ matrix.python-version }}
6270 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
6371 with :
64- python-version : 3.14.0
72+ python-version : ${{ matrix.python-version }}
6573 - name : Install python dependencies
6674 run : |
6775 pip install --upgrade pip
6876 pip install -e .[pre-commit]
6977 - name : Run pre-commit
78+ shell : bash
7079 run : |
7180 pre-commit install
72- pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )
81+ pre-commit run --all-files || {
82+ git status --short
83+ git diff
84+ exit 1
85+ }
0 commit comments