Skip to content

Commit

Permalink
Maintenance/accept dispatch (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbellot000 committed Nov 25, 2022
1 parent 9b842f4 commit 2c41da3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ on:
push:
branches:
- master
workflow_dispatch:
inputs:
standalone_branch_suffix:
description: 'Suffix of the branch on standalone'
required: true
default: ''


concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down Expand Up @@ -59,6 +66,7 @@ jobs:
python_versions: '["3.8"]'
wheel: true
wheelhouse: false
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
secrets: inherit

docker_tests:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ on:
required: false
type: string
default: true
standalone_suffix:
description: "Suffix of the branch on standalone"
required: false
type: string
default: ''
# Can be called manually
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -52,6 +57,11 @@ on:
required: false
type: string
default: 'true'
standalone_suffix:
description: "Suffix of the branch on standalone"
required: false
type: string
default: ''

env:
PACKAGE_NAME: ansys-dpf-core
Expand Down Expand Up @@ -101,6 +111,7 @@ jobs:
wheel: ${{ inputs.wheel }}
wheelhouse: ${{ inputs.wheelhouse }}
extra-pip-args: ${{ env.extra }}
standalone_suffix: ${{ inputs.standalone_suffix }}

- name: "Install ansys-grpc-dpf==0.4.0"
if: inputs.ANSYS_VERSION == 221
Expand Down

0 comments on commit 2c41da3

Please sign in to comment.