Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Set cred path env var for circleci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Azhar Dewji committed Oct 14, 2020
1 parent c36428e commit ba48647
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,23 @@ jobs:
dbt --warn-error run --target snowflake
- run:
name: "Run Tests - BigQuery"
command: |
. venv/bin/activate
echo `pwd`
cd integration_tests
dbt --warn-error deps --target bigquery
dbt --warn-error run-operation drop_audit_schema --target bigquery
dbt --warn-error run --target bigquery --full-refresh
dbt --warn-error run --target bigquery
dbt --warn-error run-operation drop_audit_schema --target bigquery
dbt --warn-error run-operation create_legacy_audit_table --target bigquery
dbt --warn-error run --target bigquery --full-refresh
dbt --warn-error run --target bigquery
name: "Run Tests - BigQuery"
environment:
BIGQUERY_SERVICE_KEY_PATH: "/home/circleci/bigquery-service-key.json"

command: |
. venv/bin/activate
echo `pwd`
cd integration_tests
dbt --warn-error deps --target bigquery
dbt --warn-error run-operation drop_audit_schema --target bigquery
dbt --warn-error run --target bigquery --full-refresh
dbt --warn-error run --target bigquery
dbt --warn-error run-operation drop_audit_schema --target bigquery
dbt --warn-error run-operation create_legacy_audit_table --target bigquery
dbt --warn-error run --target bigquery --full-refresh
dbt --warn-error run --target bigquery
- save_cache:
key: deps1-{{ .Branch }}
Expand Down

0 comments on commit ba48647

Please sign in to comment.