@@ -126,43 +126,40 @@ jobs:
126
126
secrets : inherit
127
127
128
128
tests-retro :
129
- name : " Test DPF ${{ matrix.dpf. version }} compatibility"
129
+ name : " Test DPF ${{ matrix.version }} compatibility"
130
130
strategy :
131
131
fail-fast : false
132
132
matrix :
133
- dpf :
134
- - {"version": "251", "standalone-suffix": ""}
135
- - {"version": "242", "standalone-suffix": ""}
136
- - {"version": "241", "standalone-suffix": ".sp01"}
137
- - {"version": "232", "standalone-suffix": ""}
138
- - {"version": "231", "standalone-suffix": ""}
139
- - {"version": "222", "standalone-suffix": ""}
133
+ version :
134
+ - ${{ fromJson(vars.ANSYS_VERSIONS_RETRO) }}
140
135
uses : ./.github/workflows/tests.yml
141
136
with :
142
- ANSYS_VERSION : ${{ matrix.dpf. version }}
137
+ ANSYS_VERSION : ${{ matrix.version }}
143
138
python_versions : ' ["3.10"]'
144
139
DOCSTRING : false
145
- standalone_suffix : ${{ matrix.dpf.standalone-suffix }}
140
+ standalone_suffix : ${{ matrix.version == '241' && '.sp01' || '' }}
146
141
secrets : inherit
147
142
148
143
tests-pydpf-post :
149
- name : " Test PyDPF-Post with ${{ matrix.dpf. version}}"
144
+ name : " Test PyDPF-Post with ${{ matrix.version}}"
150
145
strategy :
151
146
fail-fast : false
152
147
matrix :
153
- dpf :
154
- - {"version": "252", "standalone-suffix": "${{ github.event.inputs.standalone_branch_suffix || '' }}", "test_docstrings": "true"}
155
- - {"version": "251", "standalone-suffix": "", "test_docstrings": "false"}
156
- - {"version": "242", "standalone-suffix": "", "test_docstrings": "false"}
157
- - {"version": "241", "standalone-suffix": "", "test_docstrings": "false"}
158
- - {"version": "232", "standalone-suffix": "", "test_docstrings": "false"}
159
- - {"version": "231", "standalone-suffix": "", "test_docstrings": "false"}
160
- - {"version": "222", "standalone-suffix": "", "test_docstrings": "false"}
148
+ version :
149
+ - ${{ fromJson(vars.ANSYS_VERSIONS_RETRO) }}
150
+ standalone_suffix :
151
+ - " "
152
+ test_docstrings :
153
+ - " false"
154
+ include :
155
+ - version : ${{ vars.ANSYS_VERSION_LAST_RELEASED }}
156
+ standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '' }}
157
+ test_docstrings" : " true"
161
158
uses : ./.github/workflows/pydpf-post.yml
162
159
with :
163
- ANSYS_VERSION : ${{ matrix.dpf. version }}
164
- standalone_suffix : ${{ matrix.dpf.standalone-suffix }}
165
- test_docstrings : ${{ matrix.dpf. test_docstrings }}
160
+ ANSYS_VERSION : ${{ matrix.version }}
161
+ standalone_suffix : ${{ matrix.version == '241' && '.sp01' || matrix.standalone_suffix }}
162
+ test_docstrings : ${{ matrix.test_docstrings }}
166
163
secrets : inherit
167
164
168
165
docker_tests :
0 commit comments