From b50d8737d8ec96a53d84f2278a14bd48debd93eb Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 12 Jul 2023 14:10:26 -0700 Subject: [PATCH] add input to allow testing against a non-main core branch --- .github/workflows/integration.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index a155701f2..57ea6c9ed 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -33,6 +33,11 @@ on: pull_request_target: # manual trigger workflow_dispatch: + inputs: + dbt-core-branch: + description: "branch of dbt-core to use in dev-requirements.txt" + required: false + type: string # explicitly turn off permissions for `GITHUB_TOKEN` permissions: read-all @@ -156,6 +161,12 @@ jobs: python -m pip --version tox --version + - name: Update dev_requirements.txt + if: inputs.dbt-core-branch != '' + run: | + pip install bumpversion + ./.github/scripts/update_dbt_core_branch.sh ${{ inputs.dbt-core-branch }} + - name: Run tox (bigquery) if: matrix.adapter == 'bigquery' env: