Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test-all-warehouses.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Test all warehouse platforms
on:
pull_request:
pull_request_target:
branches: ["master"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
warehouse-type: ${{ matrix.warehouse-type }}
dbt-version: ${{ matrix.dbt-version }}
elementary-ref: ${{ inputs.elementary-ref }}
dbt-data-reliability-ref: ${{ inputs.dbt-data-reliability-ref }}
dbt-data-reliability-ref: ${{ inputs.dbt-data-reliability-ref || (github.event_name == 'pull_request_target' && github.event.pull_request.head.sha) || '' }}
secrets: inherit

notify_failures:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-warehouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ env:
jobs:
test:
runs-on: ubuntu-latest
environment: elementary_test_env # This is a github environment (not to be confused with env vars)
concurrency:
# This is what eventually defines the schema name in the data platform.
group: tests_${{ inputs.warehouse-type }}_dbt_${{ inputs.dbt-version }}_${{ github.head_ref || github.ref_name }}
Expand Down