Clean package repo for Gitea installs via packages.yml git URL. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
477 B
Python
17 lines
477 B
Python
from .utils.run import dbt_seed, dbt_run, dbt_test
|
|
|
|
def test_validate_regex(db, source_schema, debug=True):
|
|
dbt_vars = {
|
|
'source_schema': source_schema
|
|
}
|
|
|
|
print (f"Running setup and tests for {db}")
|
|
|
|
dbt_seed(
|
|
f'--select public_macros.validating', db, dbt_vars
|
|
)
|
|
|
|
dbt_run(f'--select public_macros.validating', db, dbt_vars)
|
|
dbt_test(f'--select public_macros.validating', db, dbt_vars)
|
|
|
|
print (f"Running tests completed for {db}") |