mirror of
https://github.com/FlipsideCrypto/bob-models.git
synced 2026-02-06 11:06:56 +00:00
adds warehouse env and environment input
This commit is contained in:
parent
85b81c19aa
commit
50b14e2e1b
10
.github/workflows/dbt_integration_test.yml
vendored
10
.github/workflows/dbt_integration_test.yml
vendored
@ -3,15 +3,23 @@ run-name: ${{ github.event.inputs.branch }}
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
environment:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
concurrency: ${{ github.workflow }}
|
||||
|
||||
env:
|
||||
WAREHOUSE: "${{ vars.WAREHOUSE }}"
|
||||
|
||||
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' }}
|
||||
environment: ${{ inputs.environment }}
|
||||
warehouse: ${{ vars.WAREHOUSE }}
|
||||
secrets: inherit
|
||||
Loading…
Reference in New Issue
Block a user