mirror of
https://github.com/FlipsideCrypto/near-models.git
synced 2026-02-06 09:41:44 +00:00
add integration test yaml selector and gha
This commit is contained in:
parent
e968601363
commit
821fc1d2a4
17
.github/workflows/dbt_integration_test.yml
vendored
Normal file
17
.github/workflows/dbt_integration_test.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
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
|
||||
8
selectors.yml
Normal file
8
selectors.yml
Normal file
@ -0,0 +1,8 @@
|
||||
selectors:
|
||||
- name: integration_tests
|
||||
description: "Selector for integration tests"
|
||||
definition:
|
||||
union:
|
||||
- method: fqn
|
||||
value: "livequery_models.deploy.core._utils"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user