Skip to content

Commit

Permalink
update testing to reflect new profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Aug 23, 2024
1 parent ad808d5 commit f06bfaf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ __pycache__


# Ignore all directories that start with 'env-' and can have any name after
env-*/
env*/

# Do not ignore .env files in any directory and do not ignore .env directories
!.env
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

.PHONY: test
test: ## Run the integration tests.
@./run_test.sh $(target)
@\
tox -e dbt_integration_$(target)

.PHONY: dev
dev: ## Installs dbt-* packages in develop mode along with development dependencies.
Expand Down
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ dbt-redshift@git+https://github.com/dbt-labs/dbt-redshift.git
dbt-snowflake@git+https://github.com/dbt-labs/dbt-snowflake.git
dbt-bigquery@git+https://github.com/dbt-labs/dbt-bigquery.git
pytest-xdist
tox>=3.13
4 changes: 2 additions & 2 deletions integration_tests/.env/postgres.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
POSTGRES_HOST=localhost
POSTGRES_USER=root
DBT_ENV_SECRET_POSTGRES_PASS=''
DBT_ENV_SECRET_POSTGRES_PASS=password
POSTGRES_PORT=5432
POSTGRES_DATABASE=circle_test
POSTGRES_DATABASE=dbt_utils_test
POSTGRES_SCHEMA=dbt_utils_integration_tests_postgres
2 changes: 1 addition & 1 deletion integration_tests/.env/snowflake.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SNOWFLAKE_ACCOUNT=
SNOWFLAKE_USER=
DBT_ENV_SECRET_SNOWFLAKE_PASSWORD=
DBT_ENV_SECRET_SNOWFLAKE_PASS=
SNOWFLAKE_ROLE=
SNOWFLAKE_DATABASE=
SNOWFLAKE_WAREHOUSE=
Expand Down
1 change: 0 additions & 1 deletion run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dbt --version

# Set the profile
cd integration_tests
cp ci/sample.profiles.yml profiles.yml
export DBT_PROFILES_DIR=.

# Show the location of the profiles directory and test the connection
Expand Down

0 comments on commit f06bfaf

Please sign in to comment.