Skip to content

Commit 6e5f6db

Browse files
committed
Added show limit to make tests
1 parent 7f85e71 commit 6e5f6db

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ adbs_local_env_test: wheel clean_venv
3636
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt run --profiles-dir ./
3737
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt snapshot --profiles-dir ./
3838
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt snapshot --profiles-dir ./
39+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt show --limit 4 --select people --profiles-dir ./
3940
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt docs generate --profiles-dir ./
4041
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt run-operation drop_schema --args 'relation: ${DBT_ORACLE_SCHEMA}' --profiles-dir ./
4142
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt clean --profiles-dir ./
@@ -57,6 +58,7 @@ adbs_pypi_test: clean_venv
5758
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt run --profiles-dir ./
5859
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt snapshot --profiles-dir ./
5960
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt snapshot --profiles-dir ./
61+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt show --limit 4 --select people --profiles-dir ./
6062
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt docs generate --profiles-dir ./
6163
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt run-operation drop_schema --args 'relation: ${DBT_ORACLE_SCHEMA}' --profiles-dir ./
6264
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt clean --profiles-dir ./

dbt_adbs_test_project/dbt_project.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,3 @@ on-run-start:
3838
on-run-end:
3939
- "select 'hook ended' from dual"
4040

41-
models:
42-
dbt_adbs_test_project:
43-
sales_cost_incremental:
44-
+post-hook:
45-
- "{{ create_index('sales_cost_incremental', 'PROD_ID') }}"

0 commit comments

Comments
 (0)