We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aef7161 commit 03f049bCopy full SHA for 03f049b
1 file changed
.github/workflows/python-tests.yml
@@ -14,6 +14,12 @@ on:
14
- "main"
15
16
jobs:
17
+ settings:
18
+ runs-on: "ubuntu-latest"
19
+ name: "Define workflow settings"
20
+ outputs:
21
+ default-python-version: "3.12"
22
+
23
run-tests-and-coverage:
24
name: "Run pytest with coverage."
25
runs-on: "${{ matrix.os }}"
@@ -68,7 +74,7 @@ jobs:
68
74
- name: "Set up Python"
69
75
uses: "actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b"
70
76
with:
71
- python-version: "3.12"
77
+ python-version: "${{ needs.settings.outputs.default-python-version }}"
72
78
73
79
- name: "Install nox"
80
run: |
@@ -97,7 +103,7 @@ jobs:
97
103
98
104
99
105
100
106
101
107
102
108
109
0 commit comments