integration tests - fix test runs on models #1880
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test all warehouse platforms | |
on: | |
pull_request: | |
branches: ["master"] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
inputs: | |
dbt-version: | |
type: string | |
required: false | |
description: dbt's version to test with | |
generate-data: | |
type: boolean | |
required: false | |
default: false | |
description: Whether to generate new data | |
elementary-ref: | |
type: string | |
required: false | |
description: Branch or tag to checkout for 'elementary' repository | |
dbt-data-reliability-ref: | |
type: string | |
required: false | |
description: Branch or tag to checkout for 'dbt-data-reliability' repository | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
warehouse-type: | |
[ | |
postgres, | |
snowflake, | |
bigquery, | |
redshift, | |
databricks, | |
databricks_catalog, | |
] | |
uses: ./.github/workflows/test-warehouse.yml | |
with: | |
warehouse-type: ${{ matrix.warehouse-type }} | |
dbt-version: ${{ github.event_name != 'workflow_dispatch' && ((matrix.warehouse-type == 'databricks_catalog' && '1.1.1') || '1.0.2') || inputs.dbt-version }} | |
generate-data: ${{ inputs.generate-data || false }} | |
elementary-ref: ${{ inputs.elementary-ref }} | |
dbt-data-reliability-ref: ${{ inputs.dbt-data-reliability-ref }} | |
secrets: inherit |