File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 1414 - " main"
1515
1616jobs :
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."
28+ needs : ["settings"]
1929 runs-on : " ${{ matrix.os }}"
2030 strategy :
2131 fail-fast : false
3040 - " 3.11"
3141 - " 3.12"
3242 - " 3.13"
43+ - " 3.14"
3344
3445 steps :
3546 - name : " Repo checkout"
5970
6071 coverage-compile :
6172 name : " Compile coverage reports."
62- needs : " run-tests-and-coverage"
73+ needs : ["settings", " run-tests-and-coverage"]
6374 runs-on : " ubuntu-latest"
6475 steps :
6576 - name : " Repo checkout"
6879 - name : " Set up Python"
6980 uses : " actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b"
7081 with :
71- python-version : " 3.12 "
82+ python-version : " ${{ needs.settings.outputs.default-python-version }} "
7283
7384 - name : " Install nox"
7485 run : |
89100
90101 linting :
91102 name : " Check linting and formatting requirements"
103+ needs : ["settings"]
92104 runs-on : " ubuntu-latest"
93105 steps :
94106 - name : " Repo checkout"
97109 - name : " Set up Python"
98110 uses : " actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b"
99111 with :
100- python-version : " 3.12 "
112+ python-version : " ${{ needs.settings.outputs.default-python-version }} "
101113
102114 - name : " Install nox"
103115 run : |
You can’t perform that action at this time.
0 commit comments