Skip to content

Commit 940794f

Browse files
authored
Switch CI_release.yml to 2024.2.pre0 (#1415)
* Move CI_release to 2024.2.pre0 Signed-off-by: paul.profizi <[email protected]> * Update .github/workflows/ci_release.yml * Skip the last start_local_server in a server_factory.py doctest Signed-off-by: paul.profizi <[email protected]> Try skip problematic doctest lines Signed-off-by: paul.profizi <[email protected]> Try skip problematic doctest line Signed-off-by: paul.profizi <[email protected]> Try skip problematic doctest line Signed-off-by: paul.profizi <[email protected]> Try skip problematic doctest line Signed-off-by: paul.profizi <[email protected]> * Revert "Skip the last start_local_server in a server_factory.py doctest" This reverts commit 4bc30bf. --------- Signed-off-by: paul.profizi <[email protected]>
1 parent cb49fad commit 940794f

File tree

1 file changed

+36
-16
lines changed

1 file changed

+36
-16
lines changed

.github/workflows/ci_release.yml

Lines changed: 36 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,48 @@ 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+
standalone_suffix: '.sp01'
130+
DOCSTRING: false
118131
secrets: inherit
119132

120133
retro_232:
@@ -144,13 +157,20 @@ jobs:
144157
DOCSTRING: false
145158
secrets: inherit
146159

160+
pydpf-post_242:
161+
name: "PyDPF-Post with 242"
162+
uses: ./.github/workflows/pydpf-post.yml
163+
with:
164+
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}
165+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
166+
test_docstrings: "true"
167+
secrets: inherit
168+
147169
pydpf-post_241:
148170
name: "PyDPF-Post with 241"
149171
uses: ./.github/workflows/pydpf-post.yml
150172
with:
151173
ANSYS_VERSION: "241"
152-
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
153-
test_docstrings: "true"
154174
secrets: inherit
155175

156176
pydpf-post_232:
@@ -178,17 +198,17 @@ jobs:
178198
name: "Build and Test on Docker"
179199
uses: ./.github/workflows/test_docker.yml
180200
with:
181-
ANSYS_VERSION: "241"
182-
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
201+
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}
202+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
183203
secrets: inherit
184204

185205
docker_examples:
186206
name: "Run examples on Docker"
187207
uses: ./.github/workflows/examples_docker.yml
188208
with:
189-
ANSYS_VERSION: "241"
209+
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}
190210
python_versions: '["3.9", "3.10", "3.11"]'
191-
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
211+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
192212
secrets: inherit
193213

194214
draft_release:

0 commit comments

Comments
 (0)