Skip to content

Commit

Permalink
Set CI back to main dpf-standalone branches
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi committed Sep 6, 2023
1 parent 48086d6 commit f37f8c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ jobs:
python_versions: '["3.8"]'
wheel: true
wheelhouse: false
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '_test_pygate' }}
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
secrets: inherit

docker_tests:
name: "Build and Test on Docker"
uses: ./.github/workflows/test_docker.yml
with:
ANSYS_VERSION: "241"
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '_test_pygate' }}
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
secrets: inherit

docker_examples:
Expand All @@ -74,15 +74,15 @@ jobs:
with:
ANSYS_VERSION: "241"
python_versions: '["3.8"]'
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '_test_pygate' }}
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
secrets: inherit

docs:
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
uses: ./.github/workflows/docs.yml
with:
ANSYS_VERSION: "241"
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '_test_pygate' }}
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
event_name: ${{ github.event_name }}
secrets: inherit

Expand All @@ -105,7 +105,7 @@ jobs:
with:
ANSYS_VERSION: "241"
python_versions: '["3.8"]'
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '_test_pygate' }}
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
secrets: inherit

retro_232:
Expand Down Expand Up @@ -146,6 +146,6 @@ jobs:
with:
ANSYS_VERSION: "241"
post_branch: "master"
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '_test_pygate' }}
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
test_docstrings: "true"
secrets: inherit
6 changes: 3 additions & 3 deletions .github/workflows/update_operators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: ansys/pydpf-actions/[email protected]
with:
dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '_test_pygate' }}
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
ANSYS_VERSION : ${{ github.event.inputs.ANSYS_VERSION || '241' }}

- name: "Update ansys-grpc-dpf"
Expand Down Expand Up @@ -123,9 +123,9 @@ jobs:
src/ansys/dpf/core/operators/*
docs/source/_static/dpf_operators.html
commit-message: update generated code
title: Update generated code for DPF ${{ github.event.inputs.ANSYS_VERSION || '241' }}${{ github.event.inputs.standalone_branch_suffix || '_test_pygate' }} on ${{ github.ref_name }}
title: Update generated code for DPF ${{ github.event.inputs.ANSYS_VERSION || '241' }}${{ github.event.inputs.standalone_branch_suffix || '' }} on ${{ github.ref_name }}
body: An update of generated code has been triggered either manually or by an update in the dpf-standalone repository.
branch: maint/update_code_for_${{ github.event.inputs.ANSYS_VERSION || '241' }}${{ github.event.inputs.standalone_branch_suffix || '_test_pygate' }}_on_${{ github.ref_name }}
branch: maint/update_code_for_${{ github.event.inputs.ANSYS_VERSION || '241' }}${{ github.event.inputs.standalone_branch_suffix || '' }}_on_${{ github.ref_name }}
labels: maintenance

- name: "Kill all servers"
Expand Down

0 comments on commit f37f8c6

Please sign in to comment.