Skip to content

Commit

Permalink
add input to allow testing against a non-main core branch
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-rogers-dbt committed Jul 12, 2023
1 parent d0d593e commit b50d873
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit b50d873

Please sign in to comment.