Skip to content

Commit b5b59e4

Browse files
committed
fixup! test workflow: use an explicit matrix variable instead of an inline value
1 parent 58bc553 commit b5b59e4

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,6 @@ jobs:
5555
strategy:
5656
fail-fast: false
5757
matrix:
58-
xfail: [
59-
"windows-py310-pluggy",
60-
"windows-py313",
61-
"ubuntu-py310-pluggy",
62-
"ubuntu-py310-freeze",
63-
"ubuntu-py313",
64-
"macos-py310",
65-
"macos-py313"
66-
]
6758
name: [
6859
"windows-py310-unittest-asynctest",
6960
"windows-py310-unittest-twisted24",
@@ -121,6 +112,7 @@ jobs:
121112
python: "3.10"
122113
os: windows-latest
123114
tox_env: "py310-pluggymain-pylib-xdist"
115+
xfail: true
124116

125117
- name: "windows-py310-xdist"
126118
python: "3.10"
@@ -141,6 +133,7 @@ jobs:
141133
python: "3.13"
142134
os: windows-latest
143135
tox_env: "py313"
136+
xfail: true
144137

145138
- name: "windows-py314"
146139
python: "3.14"
@@ -176,11 +169,13 @@ jobs:
176169
python: "3.10"
177170
os: ubuntu-latest
178171
tox_env: "py310-pluggymain-pylib-xdist"
172+
xfail: true
179173

180174
- name: "ubuntu-py310-freeze"
181175
python: "3.10"
182176
os: ubuntu-latest
183177
tox_env: "py310-freeze"
178+
xfail: true
184179

185180
- name: "ubuntu-py310-xdist"
186181
python: "3.10"
@@ -204,6 +199,7 @@ jobs:
204199
os: ubuntu-latest
205200
tox_env: "py313-pexpect"
206201
use_coverage: true
202+
xfail: true
207203

208204
- name: "ubuntu-py314"
209205
python: "3.14"
@@ -221,6 +217,7 @@ jobs:
221217
python: "3.10"
222218
os: macos-latest
223219
tox_env: "py310-xdist"
220+
xfail: true
224221

225222
- name: "macos-py312"
226223
python: "3.12"
@@ -231,6 +228,7 @@ jobs:
231228
python: "3.13"
232229
os: macos-latest
233230
tox_env: "py313-xdist"
231+
xfail: true
234232

235233
- name: "macos-py314"
236234
python: "3.14"
@@ -249,14 +247,7 @@ jobs:
249247
tox_env: "doctesting"
250248
use_coverage: true
251249

252-
continue-on-error: >-
253-
${{
254-
contains(
255-
fromJSON(matrix.xfail), matrix.name
256-
)
257-
&& true
258-
|| false
259-
}}
250+
continue-on-error: ${{ fromJSON(matrix.xfail) && true || false }}
260251

261252
steps:
262253
- uses: actions/checkout@v5

0 commit comments

Comments
 (0)