From 2c41da3d09588fc3e6c9ba9a7000a1e403e78d2a Mon Sep 17 00:00:00 2001 From: Camille Bellot <80476446+cbellot000@users.noreply.github.com> Date: Fri, 25 Nov 2022 11:05:17 +0100 Subject: [PATCH] Maintenance/accept dispatch (#645) --- .github/workflows/ci.yml | 8 ++++++++ .github/workflows/tests.yml | 11 +++++++++++ 2 files changed, 19 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b96cd4d020..dbc7fcf215 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} @@ -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: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 00fadd0808..0849f005c5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: @@ -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 @@ -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