43
43
steps :
44
44
- name : Determine matrix
45
45
id : generate_matrix
46
- uses : coactions/dynamic-matrix@v2
46
+ uses : coactions/dynamic-matrix@v3
47
47
with :
48
48
min_python : ${{ inputs.min_python }}
49
49
max_python : ${{ inputs.max_python }}
@@ -76,11 +76,11 @@ jobs:
76
76
77
77
- name : Set pre-commit cache
78
78
uses : actions/cache@v4
79
- if : ${{ matrix.passed_name == 'lint' }}
79
+ if : ${{ matrix.name == 'lint' }}
80
80
with :
81
81
path : |
82
82
~/.cache/pre-commit
83
- key : pre-commit-${{ matrix.name || matrix.passed_name }}-${{ hashFiles('.pre-commit-config.yaml') }}
83
+ key : pre-commit-${{ matrix.name }}-${{ hashFiles('.pre-commit-config.yaml') }}
84
84
85
85
- name : Set up Python ${{ matrix.python_version || '3.12' }}
86
86
if : " !contains(matrix.shell, 'wsl')"
@@ -97,13 +97,19 @@ jobs:
97
97
- name : Log installed dists
98
98
run : python3 -m pip freeze --all
99
99
100
- - name : Initialize tox envs ${{ matrix.passed_name }}
101
- run : python3 -m tox --notest --skip-missing-interpreters false -vv -e ${{ matrix.passed_name }}
102
- timeout-minutes : 5 # average is under 1, but macos can be over 3
100
+ - run : ${{ matrix.command }}
103
101
104
- # sequential run improves browsing experience (almost no speed impact)
105
- - name : tox -e ${{ matrix.passed_name }}
106
- run : python3 -m tox -e ${{ matrix.passed_name }}
102
+ - run : ${{ matrix.command2 }}
103
+ if : ${{ matrix.command2 }}
104
+
105
+ - run : ${{ matrix.command3 }}
106
+ if : ${{ matrix.command3 }}
107
+
108
+ - run : ${{ matrix.command4 }}
109
+ if : ${{ matrix.command4 }}
110
+
111
+ - run : ${{ matrix.command5 }}
112
+ if : ${{ matrix.command5 }}
107
113
108
114
- name : Archive logs and coverage data
109
115
uses : actions/upload-artifact@v4
@@ -169,7 +175,7 @@ jobs:
169
175
- name : Upload coverage data
170
176
uses : codecov/codecov-action@v4
171
177
with :
172
- name : ${{ matrix.passed_name }}
178
+ name : ${{ matrix.name }}
173
179
fail_ci_if_error : true
174
180
use_oidc : true
175
181
0 commit comments