Skip to content

Commit

Permalink
Temporarily only run CI tests for BigQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeatty10 committed Nov 21, 2024
1 parent 12f8369 commit 72b1879
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,47 +26,47 @@ jobs:
python -m pip install --upgrade pip setuptools
python -m pip install --pre dbt-core dbt-postgres dbt-redshift dbt-snowflake dbt-bigquery
- run:
name: "Run Tests - Postgres"
environment:
POSTGRES_HOST: localhost
POSTGRES_USER: root
DBT_ENV_SECRET_POSTGRES_PASS: ""
POSTGRES_PORT: 5432
POSTGRES_DATABASE: circle_test
POSTGRES_SCHEMA: codegen_integration_tests_postgres
command: |
. dbt_venv/bin/activate
cd integration_tests
dbt --warn-error deps --target postgres
dbt --warn-error run-operation create_source_table --target postgres
dbt --warn-error seed --target postgres --full-refresh
dbt --warn-error run --target postgres
dbt --warn-error test --target postgres
# - run:
# name: "Run Tests - Postgres"
# environment:
# POSTGRES_HOST: localhost
# POSTGRES_USER: root
# DBT_ENV_SECRET_POSTGRES_PASS: ""
# POSTGRES_PORT: 5432
# POSTGRES_DATABASE: circle_test
# POSTGRES_SCHEMA: codegen_integration_tests_postgres
# command: |
# . dbt_venv/bin/activate
# cd integration_tests
# dbt --warn-error deps --target postgres
# dbt --warn-error run-operation create_source_table --target postgres
# dbt --warn-error seed --target postgres --full-refresh
# dbt --warn-error run --target postgres
# dbt --warn-error test --target postgres

- run:
name: "Run Tests - Redshift"
command: |
. dbt_venv/bin/activate
echo `pwd`
cd integration_tests
dbt --warn-error deps --target redshift
dbt --warn-error run-operation create_source_table --target redshift
dbt --warn-error seed --target redshift --full-refresh
dbt --warn-error run --target redshift
dbt --warn-error test --target redshift
# - run:
# name: "Run Tests - Redshift"
# command: |
# . dbt_venv/bin/activate
# echo `pwd`
# cd integration_tests
# dbt --warn-error deps --target redshift
# dbt --warn-error run-operation create_source_table --target redshift
# dbt --warn-error seed --target redshift --full-refresh
# dbt --warn-error run --target redshift
# dbt --warn-error test --target redshift

- run:
name: "Run Tests - Snowflake"
command: |
. dbt_venv/bin/activate
echo `pwd`
cd integration_tests
dbt --warn-error deps --target snowflake
dbt --warn-error run-operation create_source_table --target snowflake
dbt --warn-error seed --target snowflake --full-refresh
dbt --warn-error run --target snowflake
dbt --warn-error test --target snowflake
# - run:
# name: "Run Tests - Snowflake"
# command: |
# . dbt_venv/bin/activate
# echo `pwd`
# cd integration_tests
# dbt --warn-error deps --target snowflake
# dbt --warn-error run-operation create_source_table --target snowflake
# dbt --warn-error seed --target snowflake --full-refresh
# dbt --warn-error run --target snowflake
# dbt --warn-error test --target snowflake

- run:
name: "Run Tests - BigQuery"
Expand Down

0 comments on commit 72b1879

Please sign in to comment.