Skip to content

Commit 03f049b

Browse files
committed
Add 3.14 to CI, set default to 3.12
1 parent aef7161 commit 03f049b

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/python-tests.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ 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+
1723
run-tests-and-coverage:
1824
name: "Run pytest with coverage."
1925
runs-on: "${{ matrix.os }}"
@@ -68,7 +74,7 @@ jobs:
6874
- name: "Set up Python"
6975
uses: "actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b"
7076
with:
71-
python-version: "3.12"
77+
python-version: "${{ needs.settings.outputs.default-python-version }}"
7278

7379
- name: "Install nox"
7480
run: |
@@ -97,7 +103,7 @@ jobs:
97103
- name: "Set up Python"
98104
uses: "actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b"
99105
with:
100-
python-version: "3.12"
106+
python-version: "${{ needs.settings.outputs.default-python-version }}"
101107

102108
- name: "Install nox"
103109
run: |

0 commit comments

Comments
 (0)