Skip to content

Commit d9d8aa1

Browse files
committed
ci: use repository variables for retro test matrices
1 parent 316a54b commit d9d8aa1

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -233,20 +233,22 @@ jobs:
233233
strategy:
234234
fail-fast: false
235235
matrix:
236-
dpf:
237-
- {"version": "252", "standalone-suffix": ""}
238-
- {"version": "251", "standalone-suffix": ""}
239-
- {"version": "242", "standalone-suffix": ""}
240-
- {"version": "241", "standalone-suffix": ".sp01"}
241-
- {"version": "232", "standalone-suffix": ""}
242-
- {"version": "231", "standalone-suffix": ""}
243-
- {"version": "222", "standalone-suffix": ""}
236+
version:
237+
- ${{ fromJson(vars.ANSYS_VERSIONS_RETRO) }}
238+
standalone-suffix:
239+
- ""
240+
include:
241+
- version: "241"
242+
- standalone-suffix: ".sp01"
243+
exclude:
244+
- version: "241"
245+
- standalone-suffix: ""
244246
uses: ./.github/workflows/tests.yml
245247
with:
246-
ANSYS_VERSION: ${{ matrix.dpf.version }}
248+
ANSYS_VERSION: ${{ matrix.version }}
247249
python_versions: '["3.10"]'
248250
DOCSTRING: false
249-
standalone_suffix: ${{ matrix.dpf.standalone-suffix }}
251+
standalone_suffix: ${{ matrix.standalone-suffix }}
250252
secrets: inherit
251253

252254
sync-main-with-master:

0 commit comments

Comments
 (0)