Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 36 additions & 16 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -24,7 +28,6 @@ on:
#* * * * *

env:
ANSYS_VERSION: 241
DOCUMENTATION_CNAME: 'dpf.docs.pyansys.com'
MAIN_PYTHON_VERSION: '3.9'

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down