@@ -114,135 +114,135 @@ jobs:
114114 standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
115115 secrets : inherit
116116
117- # tests_any:
118- # uses: ./.github/workflows/tests.yml
119- # needs: pick_server_suffix
120- # with:
121- # ANSYS_VERSION: "242"
122- # python_versions: '["3.9"]'
123- # wheel: true
124- # wheelhouse: false
125- # standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
126- # test_any: true
127- # secrets: inherit
128-
129- # docker_tests:
130- # name: "Build and Test on Docker"
131- # uses: ./.github/workflows/test_docker.yml
132- # needs: pick_server_suffix
133- # with:
134- # ANSYS_VERSION: "242"
135- # standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
136- # secrets: inherit
137-
138- # docker_examples:
139- # name: "Run examples on Docker"
140- # uses: ./.github/workflows/examples_docker.yml
141- # needs: pick_server_suffix
142- # with:
143- # ANSYS_VERSION: "242"
144- # python_versions: '["3.9"]'
145- # standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
146- # secrets: inherit
147-
148- # docs:
149- # if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
150- # uses: ./.github/workflows/docs.yml
151- # needs: pick_server_suffix
152- # with:
153- # ANSYS_VERSION: "242"
154- # standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
155- # event_name: ${{ github.event_name }}
156- # secrets: inherit
157-
158- # upload-development-docs:
159- # runs-on: ubuntu-latest
160- # if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
161- # needs: [docs]
162- # steps:
163- # - name: "Upload development documentation"
164- # uses: ansys/actions/doc-deploy-dev@v4
165- # with:
166- # cname: ${{ env.DOCUMENTATION_CNAME }}
167- # token: ${{ secrets.GITHUB_TOKEN }}
168- # doc-artifact-name: HTML-doc-ansys-dpf-core.zip
169- # decompress-artifact: true
170-
171- # doc-index-dev:
172- # name: "Deploy dev index docs"
173- # runs-on: ubuntu-latest
174- # needs: upload-development-docs
175- # steps:
176- # - name: "Deploy the latest documentation index"
177- # uses: ansys/actions/doc-deploy-index@v4
178- # with:
179- # cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev
180- # index-name: pydpf-core-vdev
181- # host-url: ${{ vars.MEILISEARCH_HOST_URL }}
182- # api-key: ${{ env.MEILISEARCH_API_KEY }}
183- # doc-artifact-name: HTML-doc-ansys-dpf-core.zip
184- # decompress-artifact: true
185-
186- # examples:
187- # if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
188- # uses: ./.github/workflows/examples.yml
189- # needs: pick_server_suffix
190- # with:
191- # ANSYS_VERSION: "242"
192- # python_versions: '["3.9"]'
193- # standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
194- # secrets: inherit
195-
196- # retro_241:
197- # name: "retro 241"
198- # if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
199- # uses: ./.github/workflows/tests.yml
200- # with:
201- # ANSYS_VERSION: "241"
202- # python_versions: '["3.9"]'
203- # DOCSTRING: false
204- # standalone_suffix: '.sp01'
205- # secrets: inherit
206-
207- # retro_232:
208- # name: "retro 232"
209- # if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
210- # uses: ./.github/workflows/tests.yml
211- # with:
212- # ANSYS_VERSION: "232"
213- # python_versions: '["3.9"]'
214- # DOCSTRING: false
215- # standalone_suffix: ''
216- # secrets: inherit
217-
218- # retro_231:
219- # # name: "retro 231"
220- # if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
221- # uses: ./.github/workflows/tests.yml
222- # with:
223- # ANSYS_VERSION: "231"
224- # python_versions: '["3.9"]'
225- # DOCSTRING: false
226- # secrets: inherit
227-
228- # retro_222:
229- # name: "retro 222"
230- # if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
231- # uses: ./.github/workflows/tests.yml
232- # with:
233- # ANSYS_VERSION: "222"
234- # python_versions: '["3.9"]'
235- # DOCSTRING: false
236- # secrets: inherit
237-
238- # pydpf-post:
239- # name: "PyDPF-Post"
240- # if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
241- # uses: ./.github/workflows/pydpf-post.yml
242- # needs: pick_server_suffix
243- # with:
244- # ANSYS_VERSION: "242"
245- # post_branch: "master"
246- # standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
247- # test_docstrings: "true"
248- # secrets: inherit
117+ tests_any :
118+ uses : ./.github/workflows/tests.yml
119+ needs : pick_server_suffix
120+ with :
121+ ANSYS_VERSION : " 242"
122+ python_versions : ' ["3.9"]'
123+ wheel : true
124+ wheelhouse : false
125+ standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
126+ test_any : true
127+ secrets : inherit
128+
129+ docker_tests :
130+ name : " Build and Test on Docker"
131+ uses : ./.github/workflows/test_docker.yml
132+ needs : pick_server_suffix
133+ with :
134+ ANSYS_VERSION : " 242"
135+ standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
136+ secrets : inherit
137+
138+ docker_examples :
139+ name : " Run examples on Docker"
140+ uses : ./.github/workflows/examples_docker.yml
141+ needs : pick_server_suffix
142+ with :
143+ ANSYS_VERSION : " 242"
144+ python_versions : ' ["3.9"]'
145+ standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
146+ secrets : inherit
147+
148+ docs :
149+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
150+ uses : ./.github/workflows/docs.yml
151+ needs : pick_server_suffix
152+ with :
153+ ANSYS_VERSION : " 242"
154+ standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
155+ event_name : ${{ github.event_name }}
156+ secrets : inherit
157+
158+ upload-development-docs :
159+ runs-on : ubuntu-latest
160+ if : ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
161+ needs : [docs]
162+ steps :
163+ - name : " Upload development documentation"
164+ uses : ansys/actions/doc-deploy-dev@v4
165+ with :
166+ cname : ${{ env.DOCUMENTATION_CNAME }}
167+ token : ${{ secrets.GITHUB_TOKEN }}
168+ doc-artifact-name : HTML-doc-ansys-dpf-core.zip
169+ decompress-artifact : true
170+
171+ doc-index-dev :
172+ name : " Deploy dev index docs"
173+ runs-on : ubuntu-latest
174+ needs : upload-development-docs
175+ steps :
176+ - name : " Deploy the latest documentation index"
177+ uses : ansys/actions/doc-deploy-index@v4
178+ with :
179+ cname : ${{ env.DOCUMENTATION_CNAME }}/version/dev
180+ index-name : pydpf-core-vdev
181+ host-url : ${{ vars.MEILISEARCH_HOST_URL }}
182+ api-key : ${{ env.MEILISEARCH_API_KEY }}
183+ doc-artifact-name : HTML-doc-ansys-dpf-core.zip
184+ decompress-artifact : true
185+
186+ examples :
187+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
188+ uses : ./.github/workflows/examples.yml
189+ needs : pick_server_suffix
190+ with :
191+ ANSYS_VERSION : " 242"
192+ python_versions : ' ["3.9"]'
193+ standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
194+ secrets : inherit
195+
196+ retro_241 :
197+ name : " retro 241"
198+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
199+ uses : ./.github/workflows/tests.yml
200+ with :
201+ ANSYS_VERSION : " 241"
202+ python_versions : ' ["3.9"]'
203+ DOCSTRING : false
204+ standalone_suffix : ' .sp01'
205+ secrets : inherit
206+
207+ retro_232 :
208+ name : " retro 232"
209+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
210+ uses : ./.github/workflows/tests.yml
211+ with :
212+ ANSYS_VERSION : " 232"
213+ python_versions : ' ["3.9"]'
214+ DOCSTRING : false
215+ standalone_suffix : ' '
216+ secrets : inherit
217+
218+ retro_231 :
219+ name : " retro 231"
220+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
221+ uses : ./.github/workflows/tests.yml
222+ with :
223+ ANSYS_VERSION : " 231"
224+ python_versions : ' ["3.9"]'
225+ DOCSTRING : false
226+ secrets : inherit
227+
228+ retro_222 :
229+ name : " retro 222"
230+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
231+ uses : ./.github/workflows/tests.yml
232+ with :
233+ ANSYS_VERSION : " 222"
234+ python_versions : ' ["3.9"]'
235+ DOCSTRING : false
236+ secrets : inherit
237+
238+ pydpf-post :
239+ name : " PyDPF-Post"
240+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
241+ uses : ./.github/workflows/pydpf-post.yml
242+ needs : pick_server_suffix
243+ with :
244+ ANSYS_VERSION : " 242"
245+ post_branch : " master"
246+ standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
247+ test_docstrings : " true"
248+ secrets : inherit
0 commit comments