Skip to content

updates to CI testing #1

updates to CI testing

updates to CI testing #1

name: dbt_v1.5.0_bigquery_build_full_refresh
on:
workflow_dispatch:
pull_request:
branches:
- main
env:
DBT_BIGQUERY_TOKEN: ${{ secrets.TUVA_BIGQUERY_TOKEN }}
TUVA_BIGQUERY_PROJECT: ${{ secrets.TUVA_BIGQUERY_PROJECT }}
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: dbt-deps
uses: mwhitaker/[email protected]
with:
dbt_command: "dbt deps --profiles-dir ./profiles/bigquery"
dbt_project_folder: "integration_tests"
- name: dbt-debug
uses: mwhitaker/[email protected]
with:
dbt_command: "dbt debug --profiles-dir ./profiles/bigquery"
dbt_project_folder: "integration_tests"
- name: dbt-build
uses: mwhitaker/[email protected]
with:
dbt_command: 'dbt build --full-refresh --profiles-dir ./profiles/bigquery --vars {"tuva_database":"dev-ci-testing","input_database":"dev-ci-testing","input_schema":"connector"}'
dbt_project_folder: "integration_tests"
- name: Get the result
if: ${{ always() }}
run: echo "${{ steps.dbt-build.outputs.result }}"
shell: bash