Skip to content

Commit 58444e6

Browse files
committed
Add 3.14 to CI, set default to 3.12
1 parent aef7161 commit 58444e6

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/python-tests.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ on:
1414
- "main"
1515

1616
jobs:
17+
settings:
18+
runs-on: "ubuntu-latest"
19+
name: "Define workflow settings"
20+
outputs:
21+
default-python-version: "3.12"
22+
steps:
23+
- name: "Define settings"
24+
run: ""
25+
1726
run-tests-and-coverage:
1827
name: "Run pytest with coverage."
1928
runs-on: "${{ matrix.os }}"
@@ -30,6 +39,7 @@ jobs:
3039
- "3.11"
3140
- "3.12"
3241
- "3.13"
42+
- "3.14"
3343

3444
steps:
3545
- name: "Repo checkout"
@@ -68,7 +78,7 @@ jobs:
6878
- name: "Set up Python"
6979
uses: "actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b"
7080
with:
71-
python-version: "3.12"
81+
python-version: "${{ needs.settings.outputs.default-python-version }}"
7282

7383
- name: "Install nox"
7484
run: |
@@ -97,7 +107,7 @@ jobs:
97107
- name: "Set up Python"
98108
uses: "actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b"
99109
with:
100-
python-version: "3.12"
110+
python-version: "${{ needs.settings.outputs.default-python-version }}"
101111

102112
- name: "Install nox"
103113
run: |

0 commit comments

Comments
 (0)