Skip to content

Commit

Permalink
test like this
Browse files Browse the repository at this point in the history
  • Loading branch information
0xRobin committed Jun 6, 2024
1 parent df56502 commit 2de59b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dbt_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: check schemas
run: |
test=$(dbt --quiet --no-print ls $PROFILE --resource-type model --select state:modified,config.schema:no_schema --output path --state ${PROJECT_DIR} --project-dir ${PROJECT_DIR})
test=$(dbt --quiet --no-print ls $PROFILE --resource-type model --select state:modified,config.schema:no_schema --output path --state $PROJECT_DIR --project-dir $PROJECT_DIR)
[[ -z "$test" ]] && { echo "Success: All models have a custom schema"; exit 0; } || { echo "Found models without custom schema:"; echo "$test"; exit 1; }
- name: dbt seed
Expand Down

0 comments on commit 2de59b1

Please sign in to comment.