3131 default : ' ./dpf-standalone/dist'
3232
3333
34- # concurrency:
35- # group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
36- # cancel-in-progress: true
34+ concurrency :
35+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
36+ cancel-in-progress : true
3737
3838env :
3939 DOCUMENTATION_CNAME : ' dpf.docs.pyansys.com'
@@ -65,39 +65,39 @@ jobs:
6565 - name : " Run pre-commit"
6666 run : pre-commit run --all-files --show-diff-on-failure
6767
68- # tests:
69- # uses: ./.github/workflows/tests.yml
70- # with:
71- # ANSYS_VERSION: "241"
72- # python_versions: '["3.8"]'
73- # wheel: true
74- # wheelhouse: false
75- # standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
76- # custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
77- # custom-wheels: ${{ github.event.inputs.custom-wheels || './dpf-standalone/v241/dist' }}
78- # secrets: inherit
79- #
80- # docker_tests:
81- # name: "Build and Test on Docker"
82- # uses: ./.github/workflows/test_docker.yml
83- # with:
84- # ANSYS_VERSION: "241"
85- # standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
86- # custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
87- # custom-wheels: ${{ github.event.inputs.custom-wheels-docker || './dpf-standalone/dist' }}
88- # secrets: inherit
89- #
90- # docker_examples:
91- # name: "Run examples on Docker"
92- # uses: ./.github/workflows/examples_docker.yml
93- # with:
94- # ANSYS_VERSION: "241"
95- # python_versions: '["3.8"]'
96- # standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
97- # custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
98- # custom-wheels: ${{ github.event.inputs.custom-wheels-docker || './dpf-standalone/dist' }}
99- # secrets: inherit
100- #
68+ tests :
69+ uses : ./.github/workflows/tests.yml
70+ with :
71+ ANSYS_VERSION : " 241"
72+ python_versions : ' ["3.8"]'
73+ wheel : true
74+ wheelhouse : false
75+ standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '' }}
76+ custom-requirements : ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
77+ custom-wheels : ${{ github.event.inputs.custom-wheels || './dpf-standalone/v241/dist' }}
78+ secrets : inherit
79+
80+ docker_tests :
81+ name : " Build and Test on Docker"
82+ uses : ./.github/workflows/test_docker.yml
83+ with :
84+ ANSYS_VERSION : " 241"
85+ standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '' }}
86+ custom-requirements : ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
87+ custom-wheels : ${{ github.event.inputs.custom-wheels-docker || './dpf-standalone/dist' }}
88+ secrets : inherit
89+
90+ docker_examples :
91+ name : " Run examples on Docker"
92+ uses : ./.github/workflows/examples_docker.yml
93+ with :
94+ ANSYS_VERSION : " 241"
95+ python_versions : ' ["3.8"]'
96+ standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '' }}
97+ custom-requirements : ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
98+ custom-wheels : ${{ github.event.inputs.custom-wheels-docker || './dpf-standalone/dist' }}
99+ secrets : inherit
100+
101101 docs :
102102 if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
103103 uses : ./.github/workflows/docs.yml
@@ -109,82 +109,82 @@ jobs:
109109 event_name : ${{ github.event_name }}
110110 secrets : inherit
111111
112- # upload-development-docs:
113- # runs-on: ubuntu-latest
114- # if: ${{ github.ref == 'refs/heads/master' }}
115- # needs: [docs]
116- # steps:
117- # - name: "Upload development documentation"
118- # uses: ansys/actions/doc-deploy-dev@v4
119- # with:
120- # cname: ${{ env.DOCUMENTATION_CNAME }}
121- # token: ${{ secrets.GITHUB_TOKEN }}
122- # doc-artifact-name: HTML-doc-ansys-dpf-core.zip
123- #
124- # examples:
125- # if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
126- # uses: ./.github/workflows/examples.yml
127- # with:
128- # ANSYS_VERSION: "241"
129- # python_versions: '["3.8"]'
130- # standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
131- # custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
132- # custom-wheels: ${{ github.event.inputs.custom-wheels || './dpf-standalone/v241/dist' }}
133- # secrets: inherit
134- #
135- # retro_232:
136- # name: "retro 232"
137- # if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
138- # uses: ./.github/workflows/tests.yml
139- # with:
140- # ANSYS_VERSION: "232"
141- # python_versions: '["3.8"]'
142- # DOCSTRING: false
143- # standalone_suffix: ''
144- # custom-wheels: './dpf-standalone/v232/dist --pre'
145- # secrets: inherit
146- #
147- # retro_231:
148- # name: "retro 231"
149- # if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
150- # uses: ./.github/workflows/tests.yml
151- # with:
152- # ANSYS_VERSION: "231"
153- # python_versions: '["3.8"]'
154- # DOCSTRING: false
155- # custom-wheels: './.github'
156- # secrets: inherit
157- #
158- # retro_222:
159- # name: "retro 222"
160- # if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
161- # uses: ./.github/workflows/tests.yml
162- # with:
163- # ANSYS_VERSION: "222"
164- # python_versions: '["3.8"]'
165- # DOCSTRING: false
166- # custom-wheels: './.github'
167- # secrets: inherit
168- #
169- # retro_221:
170- # name: "retro 221"
171- # if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
172- # uses: ./.github/workflows/tests.yml
173- # with:
174- # ANSYS_VERSION: "221"
175- # python_versions: '["3.8"]'
176- # DOCSTRING: false
177- # custom-wheels: './.github'
178- # secrets: inherit
179- #
180- # pydpf-post:
181- # name: "PyDPF-Post"
182- # if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
183- # uses: ./.github/workflows/pydpf-post.yml
184- # with:
185- # ANSYS_VERSION: "241"
186- # post_branch: "master"
187- # standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
188- # custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
189- # custom-wheels: ${{ github.event.inputs.custom-wheels || './dpf-standalone/v241/dist' }}
190- # secrets: inherit
112+ upload-development-docs :
113+ runs-on : ubuntu-latest
114+ if : ${{ github.ref == 'refs/heads/master' }}
115+ needs : [docs]
116+ steps :
117+ - name : " Upload development documentation"
118+ uses : ansys/actions/doc-deploy-dev@v4
119+ with :
120+ cname : ${{ env.DOCUMENTATION_CNAME }}
121+ token : ${{ secrets.GITHUB_TOKEN }}
122+ doc-artifact-name : HTML-doc-ansys-dpf-core.zip
123+
124+ examples :
125+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
126+ uses : ./.github/workflows/examples.yml
127+ with :
128+ ANSYS_VERSION : " 241"
129+ python_versions : ' ["3.8"]'
130+ standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '' }}
131+ custom-requirements : ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
132+ custom-wheels : ${{ github.event.inputs.custom-wheels || './dpf-standalone/v241/dist' }}
133+ secrets : inherit
134+
135+ retro_232 :
136+ name : " retro 232"
137+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
138+ uses : ./.github/workflows/tests.yml
139+ with :
140+ ANSYS_VERSION : " 232"
141+ python_versions : ' ["3.8"]'
142+ DOCSTRING : false
143+ standalone_suffix : ' '
144+ custom-wheels : ' ./dpf-standalone/v232/dist --pre'
145+ secrets : inherit
146+
147+ retro_231 :
148+ name : " retro 231"
149+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
150+ uses : ./.github/workflows/tests.yml
151+ with :
152+ ANSYS_VERSION : " 231"
153+ python_versions : ' ["3.8"]'
154+ DOCSTRING : false
155+ custom-wheels : ' ./.github'
156+ secrets : inherit
157+
158+ retro_222 :
159+ name : " retro 222"
160+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
161+ uses : ./.github/workflows/tests.yml
162+ with :
163+ ANSYS_VERSION : " 222"
164+ python_versions : ' ["3.8"]'
165+ DOCSTRING : false
166+ custom-wheels : ' ./.github'
167+ secrets : inherit
168+
169+ retro_221 :
170+ name : " retro 221"
171+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
172+ uses : ./.github/workflows/tests.yml
173+ with :
174+ ANSYS_VERSION : " 221"
175+ python_versions : ' ["3.8"]'
176+ DOCSTRING : false
177+ custom-wheels : ' ./.github'
178+ secrets : inherit
179+
180+ pydpf-post :
181+ name : " PyDPF-Post"
182+ if : startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
183+ uses : ./.github/workflows/pydpf-post.yml
184+ with :
185+ ANSYS_VERSION : " 241"
186+ post_branch : " master"
187+ standalone_suffix : ${{ github.event.inputs.standalone_branch_suffix || '' }}
188+ custom-requirements : ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
189+ custom-wheels : ${{ github.event.inputs.custom-wheels || './dpf-standalone/v241/dist' }}
190+ secrets : inherit
0 commit comments