Skip to content

Commit

Permalink
do not default to breaking my profiles.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Beck committed Jun 11, 2020
1 parent e7062ad commit c9e2028
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ fi
. $VENV
cd integration_tests

mkdir -p ~/.dbt
cp ci/sample.profiles.yml ~/.dbt/profiles.yml
if [[ ! -e ~/.dbt/profiles.yml ]]; then
mkdir -p ~/.dbt
cp ci/sample.profiles.yml ~/.dbt/profiles.yml
fi

_models=""
_seeds="--full-refresh"
Expand All @@ -23,4 +25,4 @@ if [[ ! -z $3 ]]; then _seeds="--select $3 --full-refresh"; fi
dbt deps --target $1
dbt seed --target $1 $_seeds
dbt run --target $1 $_models
dbt test --target $1 $_models
dbt test --target $1 $_models

0 comments on commit c9e2028

Please sign in to comment.