|
8 | 8 | - cron: "0 13 * * 0" |
9 | 9 | workflow_dispatch: |
10 | 10 | inputs: |
| 11 | + ansys_version: |
| 12 | + description: "Ansys version of the standalone." |
| 13 | + required: false |
| 14 | + default: '242' |
11 | 15 | standalone_branch_suffix: |
12 | 16 | description: 'Suffix of the branch on standalone' |
13 | 17 | required: false |
14 | | - default: '.sp01' |
| 18 | + default: '.pre0' |
15 | 19 |
|
16 | 20 | #┌───────────── minute (0 - 59) |
17 | 21 | #│ ┌───────────── hour (0 - 23) |
|
24 | 28 | #* * * * * |
25 | 29 |
|
26 | 30 | env: |
27 | | - ANSYS_VERSION: 241 |
28 | 31 | DOCUMENTATION_CNAME: 'dpf.docs.pyansys.com' |
29 | 32 | MAIN_PYTHON_VERSION: '3.9' |
30 | 33 |
|
@@ -83,38 +86,48 @@ jobs: |
83 | 86 | tests: |
84 | 87 | uses: ./.github/workflows/tests.yml |
85 | 88 | with: |
86 | | - ANSYS_VERSION: "241" |
| 89 | + ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }} |
87 | 90 | python_versions: '["3.9", "3.10", "3.11"]' |
88 | 91 | wheel: true |
89 | 92 | wheelhouse: true |
90 | | - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }} |
| 93 | + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }} |
91 | 94 | secrets: inherit |
92 | 95 |
|
93 | 96 | tests_any: |
94 | 97 | uses: ./.github/workflows/tests.yml |
95 | 98 | with: |
96 | | - ANSYS_VERSION: "241" |
| 99 | + ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }} |
97 | 100 | python_versions: '["3.9", "3.10", "3.11"]' |
98 | 101 | wheel: true |
99 | 102 | wheelhouse: false |
100 | | - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }} |
| 103 | + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }} |
101 | 104 | test_any: true |
102 | 105 | secrets: inherit |
103 | 106 |
|
104 | 107 | docs: |
105 | 108 | uses: ./.github/workflows/docs.yml |
106 | 109 | 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' }} |
109 | 112 | event_name: ${{ github.event_name }} |
110 | 113 | secrets: inherit |
111 | 114 |
|
112 | 115 | examples: |
113 | 116 | uses: ./.github/workflows/examples.yml |
114 | 117 | with: |
115 | | - ANSYS_VERSION: "241" |
| 118 | + ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }} |
116 | 119 | 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 |
118 | 131 | secrets: inherit |
119 | 132 |
|
120 | 133 | retro_232: |
@@ -144,13 +157,20 @@ jobs: |
144 | 157 | DOCSTRING: false |
145 | 158 | secrets: inherit |
146 | 159 |
|
| 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 | + |
147 | 169 | pydpf-post_241: |
148 | 170 | name: "PyDPF-Post with 241" |
149 | 171 | uses: ./.github/workflows/pydpf-post.yml |
150 | 172 | with: |
151 | 173 | ANSYS_VERSION: "241" |
152 | | - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }} |
153 | | - test_docstrings: "true" |
154 | 174 | secrets: inherit |
155 | 175 |
|
156 | 176 | pydpf-post_232: |
@@ -178,17 +198,17 @@ jobs: |
178 | 198 | name: "Build and Test on Docker" |
179 | 199 | uses: ./.github/workflows/test_docker.yml |
180 | 200 | 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' }} |
183 | 203 | secrets: inherit |
184 | 204 |
|
185 | 205 | docker_examples: |
186 | 206 | name: "Run examples on Docker" |
187 | 207 | uses: ./.github/workflows/examples_docker.yml |
188 | 208 | with: |
189 | | - ANSYS_VERSION: "241" |
| 209 | + ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }} |
190 | 210 | 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' }} |
192 | 212 | secrets: inherit |
193 | 213 |
|
194 | 214 | draft_release: |
|
0 commit comments