Skip to content

Commit fbdc622

Browse files
authored
Fix/wheel artifact concurrency ci release (#1854)
* Fix wheel condition on call to tests.yml in ci_release.yml Signed-off-by: paul.profizi <paul.profizi@ansys.com> * Update needs for draft_release Signed-off-by: paul.profizi <paul.profizi@ansys.com> --------- Signed-off-by: paul.profizi <paul.profizi@ansys.com>
1 parent bd8f00b commit fbdc622

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

.github/workflows/ci_release.yml

+25-4
Original file line numberDiff line numberDiff line change
@@ -73,21 +73,42 @@ jobs:
7373
name: ${{ steps.wheel.outputs.wheel_name }}
7474
path: dist/${{ steps.wheel.outputs.wheel_name }}
7575

76-
tests:
76+
tests_3_9:
7777
uses: ./.github/workflows/tests.yml
7878
with:
7979
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
80-
python_versions: '["3.9", "3.10", "3.11"]'
80+
python_versions: '["3.9"]'
8181
wheel: true
8282
wheelhouse: true
8383
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
8484
secrets: inherit
8585

86+
tests:
87+
uses: ./.github/workflows/tests.yml
88+
with:
89+
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
90+
python_versions: '["3.10", "3.11"]'
91+
wheel: false
92+
wheelhouse: true
93+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
94+
secrets: inherit
95+
96+
tests_any_3_9:
97+
uses: ./.github/workflows/tests.yml
98+
with:
99+
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
100+
python_versions: '["3.9"]'
101+
wheel: false
102+
wheelhouse: false
103+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
104+
test_any: true
105+
secrets: inherit
106+
86107
tests_any:
87108
uses: ./.github/workflows/tests.yml
88109
with:
89110
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
90-
python_versions: '["3.9", "3.10", "3.11"]'
111+
python_versions: '["3.10", "3.11"]'
91112
wheel: true
92113
wheelhouse: false
93114
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
@@ -211,7 +232,7 @@ jobs:
211232
draft_release:
212233
name: "Draft Release"
213234
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
214-
needs: [style, tests, docs, examples, retro_232, retro_231, retro_222, docker_tests]
235+
needs: [style, tests, tests_3_9, tests_any, tests_any_3_9, docs, examples, retro_232, retro_231, retro_222, docker_tests]
215236
runs-on: ubuntu-latest
216237
steps:
217238
- name: "Download artifacts"

0 commit comments

Comments
 (0)