mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 13:41:55 +00:00
* fix gha workflow env * add dbt_profiles_dir * bump fsc-utils to 1.30.0 & add tag_integration_test * add resource path selector to gha dbt command * revert to fsc-utils package 1.17.2 * add selectors.yml * add reusable dbt run workflow * test python 3.8 * pass in python version * add reusable workflow template and uses python_version * remove inline dbt.yml in favor of reusable template * change to dbt.yml reusable workflow * fix input command and remove python version * remove external browser authenticator * fix profiles in ./ * add password envar * clean up dbt_run_integration_test gha
19 lines
490 B
YAML
19 lines
490 B
YAML
name: dbt_run_integration_test
|
|
run-name: ${{ github.event.inputs.branch }}
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
concurrency: ${{ github.workflow }}
|
|
|
|
jobs:
|
|
called_workflow_template:
|
|
uses: FlipsideCrypto/analytics-workflow-templates/.github/workflows/dbt.yml@main
|
|
with:
|
|
command: >
|
|
dbt test --selector 'integration_tests'
|
|
environment: ${{ github.ref == 'refs/heads/main' && 'workflow_prod' || 'workflow_dev' }}
|
|
warehouse: ${{ vars.WAREHOUSE }}
|
|
secrets: inherit
|
|
|