1414 description : " ANSYS version"
1515 required : false
1616 type : string
17- default : " 252"
1817 standalone_branch_suffix :
1918 description : ' Suffix of the branch on standalone'
2019 required : false
@@ -105,7 +104,7 @@ jobs:
105104 uses : ./.github/workflows/tests.yml
106105 needs : pick_server_suffix
107106 with :
108- ANSYS_VERSION : ${{ github.event. inputs.ansys_version || '252' }}
107+ ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
109108 python_versions : ' ["3.10"]'
110109 wheel : true
111110 wheelhouse : false
@@ -116,7 +115,7 @@ jobs:
116115 uses : ./.github/workflows/tests.yml
117116 needs : pick_server_suffix
118117 with :
119- ANSYS_VERSION : ${{ github.event. inputs.ansys_version || '252' }}
118+ ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
120119 python_versions : ' ["3.10"]'
121120 wheel : true
122121 wheelhouse : false
@@ -129,7 +128,7 @@ jobs:
129128 uses : ./.github/workflows/test_docker.yml
130129 needs : pick_server_suffix
131130 with :
132- ANSYS_VERSION : ${{ github.event. inputs.ansys_version || '252' }}
131+ ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
133132 standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
134133 secrets : inherit
135134
@@ -138,7 +137,7 @@ jobs:
138137 uses : ./.github/workflows/examples_docker.yml
139138 needs : pick_server_suffix
140139 with :
141- ANSYS_VERSION : ${{ github.event. inputs.ansys_version || '252' }}
140+ ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
142141 python_versions : ' ["3.10"]'
143142 standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
144143 secrets : inherit
@@ -148,7 +147,7 @@ jobs:
148147 uses : ./.github/workflows/docs.yml
149148 needs : pick_server_suffix
150149 with :
151- ANSYS_VERSION : ${{ github.event. inputs.ansys_version || '252' }}
150+ ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
152151 standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
153152 event_name : ${{ github.event_name }}
154153 python_version : " 3.11"
@@ -174,11 +173,34 @@ jobs:
174173 uses : ./.github/workflows/examples.yml
175174 needs : pick_server_suffix
176175 with :
177- ANSYS_VERSION : ${{ github.event. inputs.ansys_version || '252' }}
176+ ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
178177 python_versions : ' ["3.10"]'
179178 standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
180179 secrets : inherit
181180
181+ pydpf-post :
182+ name : " PyDPF-Post"
183+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
184+ uses : ./.github/workflows/pydpf-post.yml
185+ needs : pick_server_suffix
186+ with :
187+ ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
188+ post_branch : " master"
189+ standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
190+ test_docstrings : " true"
191+ secrets : inherit
192+
193+ retro_252 :
194+ name : " retro 252"
195+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
196+ uses : ./.github/workflows/tests.yml
197+ with :
198+ ANSYS_VERSION : " 252"
199+ python_versions : ' ["3.10"]'
200+ DOCSTRING : false
201+ standalone_suffix : ' '
202+ secrets : inherit
203+
182204 retro_251 :
183205 name : " retro 251"
184206 if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
@@ -242,15 +264,3 @@ jobs:
242264 python_versions : ' ["3.10"]'
243265 DOCSTRING : false
244266 secrets : inherit
245-
246- pydpf-post :
247- name : " PyDPF-Post"
248- if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
249- uses : ./.github/workflows/pydpf-post.yml
250- needs : pick_server_suffix
251- with :
252- ANSYS_VERSION : ${{ github.event.inputs.ansys_version || '252' }}
253- post_branch : " master"
254- standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
255- test_docstrings : " true"
256- secrets : inherit
0 commit comments