diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index 647485faa9a..235cd282bec 100644 --- a/.github/workflows/ci_release.yml +++ b/.github/workflows/ci_release.yml @@ -8,10 +8,14 @@ on: - cron: "0 13 * * 0" workflow_dispatch: inputs: + ansys_version: + description: "Ansys version of the standalone." + required: false + default: '242' standalone_branch_suffix: description: 'Suffix of the branch on standalone' required: false - default: '.sp01' + default: '.pre0' #┌───────────── minute (0 - 59) #│ ┌───────────── hour (0 - 23) @@ -24,7 +28,6 @@ on: #* * * * * env: - ANSYS_VERSION: 241 DOCUMENTATION_CNAME: 'dpf.docs.pyansys.com' MAIN_PYTHON_VERSION: '3.9' @@ -83,38 +86,48 @@ jobs: tests: uses: ./.github/workflows/tests.yml with: - ANSYS_VERSION: "241" + ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }} python_versions: '["3.9", "3.10", "3.11"]' wheel: true wheelhouse: true - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }} + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }} secrets: inherit tests_any: uses: ./.github/workflows/tests.yml with: - ANSYS_VERSION: "241" + ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }} python_versions: '["3.9", "3.10", "3.11"]' wheel: true wheelhouse: false - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }} + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }} test_any: true secrets: inherit docs: uses: ./.github/workflows/docs.yml with: - ANSYS_VERSION: "241" - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }} + ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }} + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }} event_name: ${{ github.event_name }} secrets: inherit examples: uses: ./.github/workflows/examples.yml with: - ANSYS_VERSION: "241" + ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }} python_versions: '["3.9", "3.10", "3.11"]' - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }} + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }} + secrets: inherit + + retro_241: + name: "retro 241" + uses: ./.github/workflows/tests.yml + with: + ANSYS_VERSION: "241" + python_versions: '["3.9"]' + standalone_suffix: '.sp01' + DOCSTRING: false secrets: inherit retro_232: @@ -144,13 +157,20 @@ jobs: DOCSTRING: false secrets: inherit + pydpf-post_242: + name: "PyDPF-Post with 242" + uses: ./.github/workflows/pydpf-post.yml + with: + ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }} + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }} + test_docstrings: "true" + secrets: inherit + pydpf-post_241: name: "PyDPF-Post with 241" uses: ./.github/workflows/pydpf-post.yml with: ANSYS_VERSION: "241" - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }} - test_docstrings: "true" secrets: inherit pydpf-post_232: @@ -178,17 +198,17 @@ jobs: name: "Build and Test on Docker" uses: ./.github/workflows/test_docker.yml with: - ANSYS_VERSION: "241" - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }} + ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }} + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }} secrets: inherit docker_examples: name: "Run examples on Docker" uses: ./.github/workflows/examples_docker.yml with: - ANSYS_VERSION: "241" + ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }} python_versions: '["3.9", "3.10", "3.11"]' - standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }} + standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }} secrets: inherit draft_release: