Skip to content

Commit

Permalink
Merge pull request #461 from dbt-labs/docs/env-var-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
b-per authored Jun 21, 2024
2 parents 7abff20 + b5e8ff4 commit 6ef7a69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/ci-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ By default the tests in this package are configured with "warn" severity, we can
```yaml title="dbt_project.yml"
models:
dbt_project_evaluator:
+enabled: "{{ env_var('ENABLE_DBT_PROJECT_EVALUATOR', 'true') | lower == 'true' | as_bool }}"
+enabled: "{{ env_var('DBT_PROJECT_EVALUATOR_ENABLED', 'true') | lower == 'true' | as_bool }}"
```
## 2. Run this package for each pull request
Expand Down
10 changes: 2 additions & 8 deletions run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,8 @@ then
python3 -m venv venv
. $VENV

pip install --upgrade pip setuptools

if [[ $1 == "duckdb" ]]
then
pip install "dbt-$1==1.7.1"
else
pip install --pre "dbt-$1" dbt-core
fi
pip install --upgrade pip setuptools "dbt-$1" dbt-core

fi

. $VENV
Expand Down

0 comments on commit 6ef7a69

Please sign in to comment.