Skip to content

Commit 92369ca

Browse files
committed
Move CI_release to 2024.2.pre0
Signed-off-by: paul.profizi <[email protected]>
1 parent 1e95849 commit 92369ca

File tree

1 file changed

+35
-16
lines changed

1 file changed

+35
-16
lines changed

.github/workflows/ci_release.yml

Lines changed: 35 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ on:
88
- cron: "0 13 * * 0"
99
workflow_dispatch:
1010
inputs:
11+
ansys_version:
12+
description: "Ansys version of the standalone."
13+
required: false
14+
default: '242'
1115
standalone_branch_suffix:
1216
description: 'Suffix of the branch on standalone'
1317
required: false
14-
default: '.sp01'
18+
default: '.pre0'
1519

1620
#┌───────────── minute (0 - 59)
1721
#│ ┌───────────── hour (0 - 23)
@@ -24,7 +28,6 @@ on:
2428
#* * * * *
2529

2630
env:
27-
ANSYS_VERSION: 241
2831
DOCUMENTATION_CNAME: 'dpf.docs.pyansys.com'
2932
MAIN_PYTHON_VERSION: '3.9'
3033

@@ -83,38 +86,47 @@ jobs:
8386
tests:
8487
uses: ./.github/workflows/tests.yml
8588
with:
86-
ANSYS_VERSION: "241"
89+
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}
8790
python_versions: '["3.9", "3.10", "3.11"]'
8891
wheel: true
8992
wheelhouse: true
90-
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
93+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
9194
secrets: inherit
9295

9396
tests_any:
9497
uses: ./.github/workflows/tests.yml
9598
with:
96-
ANSYS_VERSION: "241"
99+
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}
97100
python_versions: '["3.9", "3.10", "3.11"]'
98101
wheel: true
99102
wheelhouse: false
100-
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
103+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
101104
test_any: true
102105
secrets: inherit
103106

104107
docs:
105108
uses: ./.github/workflows/docs.yml
106109
with:
107-
ANSYS_VERSION: "241"
108-
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
110+
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}
111+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
109112
event_name: ${{ github.event_name }}
110113
secrets: inherit
111114

112115
examples:
113116
uses: ./.github/workflows/examples.yml
114117
with:
115-
ANSYS_VERSION: "241"
118+
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}
116119
python_versions: '["3.9", "3.10", "3.11"]'
117-
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
120+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
121+
secrets: inherit
122+
123+
retro_241:
124+
name: "retro 241"
125+
uses: ./.github/workflows/tests.yml
126+
with:
127+
ANSYS_VERSION: "241"
128+
python_versions: '["3.9"]'
129+
DOCSTRING: false
118130
secrets: inherit
119131

120132
retro_232:
@@ -144,13 +156,20 @@ jobs:
144156
DOCSTRING: false
145157
secrets: inherit
146158

159+
pydpf-post_242:
160+
name: "PyDPF-Post with 242"
161+
uses: ./.github/workflows/pydpf-post.yml
162+
with:
163+
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}
164+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
165+
test_docstrings: "true"
166+
secrets: inherit
167+
147168
pydpf-post_241:
148169
name: "PyDPF-Post with 241"
149170
uses: ./.github/workflows/pydpf-post.yml
150171
with:
151172
ANSYS_VERSION: "241"
152-
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
153-
test_docstrings: "true"
154173
secrets: inherit
155174

156175
pydpf-post_232:
@@ -178,17 +197,17 @@ jobs:
178197
name: "Build and Test on Docker"
179198
uses: ./.github/workflows/test_docker.yml
180199
with:
181-
ANSYS_VERSION: "241"
182-
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
200+
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}
201+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
183202
secrets: inherit
184203

185204
docker_examples:
186205
name: "Run examples on Docker"
187206
uses: ./.github/workflows/examples_docker.yml
188207
with:
189-
ANSYS_VERSION: "241"
208+
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}
190209
python_versions: '["3.9", "3.10", "3.11"]'
191-
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
210+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
192211
secrets: inherit
193212

194213
draft_release:

0 commit comments

Comments
 (0)