Skip to content

Commit 2172a8b

Browse files
committed
AChange suffix management in retro and post matrices in ci.yml and ci_release.yml
1 parent e9f50a4 commit 2172a8b

File tree

2 files changed

+5
-26
lines changed

2 files changed

+5
-26
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -236,20 +236,12 @@ jobs:
236236
version:
237237
- ${{ fromJson(vars.ANSYS_VERSIONS_RETRO) }}
238238
- ${{ fromJson(vars.ANSYS_VERSION_LAST_RELEASED) }}
239-
standalone-suffix:
240-
- ""
241-
include:
242-
- version: "241"
243-
- standalone-suffix: ".sp01"
244-
exclude:
245-
- version: "241"
246-
- standalone-suffix: ""
247239
uses: ./.github/workflows/tests.yml
248240
with:
249241
ANSYS_VERSION: ${{ matrix.version }}
250242
python_versions: '["3.10"]'
251243
DOCSTRING: false
252-
standalone_suffix: ${{ matrix.standalone-suffix }}
244+
standalone_suffix: ${{ matrix.version == '241' && '.sp01' || '' }}
253245
secrets: inherit
254246

255247
sync-main-with-master:

.github/workflows/ci_release.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -132,20 +132,12 @@ jobs:
132132
matrix:
133133
version:
134134
- ${{ fromJson(vars.ANSYS_VERSIONS_RETRO) }}
135-
standalone-suffix:
136-
- ""
137-
include:
138-
- version: "241"
139-
standalone-suffix: ".sp01"
140-
exclude:
141-
- version: "241"
142-
standalone-suffix: ""
143135
uses: ./.github/workflows/tests.yml
144136
with:
145137
ANSYS_VERSION: ${{ matrix.version }}
146138
python_versions: '["3.10"]'
147139
DOCSTRING: false
148-
standalone_suffix: ${{ matrix.standalone-suffix }}
140+
standalone_suffix: ${{ matrix.version == '241' && '.sp01' || '' }}
149141
secrets: inherit
150142

151143
tests-pydpf-post:
@@ -155,23 +147,18 @@ jobs:
155147
matrix:
156148
version:
157149
- ${{ fromJson(vars.ANSYS_VERSIONS_RETRO) }}
158-
standalone-suffix:
150+
standalone_suffix:
159151
- ""
160152
test_docstrings:
161153
- "false"
162154
include:
163155
- version: ${{ vars.ANSYS_VERSION_LAST_RELEASED }}
164-
standalone-suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
156+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
165157
test_docstrings": "true"
166-
- version: "241"
167-
standalone-suffix: ".sp01"
168-
exclude:
169-
- version: "241"
170-
standalone-suffix: ""
171158
uses: ./.github/workflows/pydpf-post.yml
172159
with:
173160
ANSYS_VERSION: ${{ matrix.version }}
174-
standalone_suffix: ${{ matrix.standalone-suffix }}
161+
standalone_suffix: ${{ matrix.version == '241' && '.sp01' || matrix.standalone_suffix }}
175162
test_docstrings: ${{ matrix.test_docstrings }}
176163
secrets: inherit
177164

0 commit comments

Comments
 (0)