Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-connors-3 committed Oct 30, 2023
1 parent 7d166a9 commit 629d43a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/1.5/valid/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ models:
materialized: table
empty_subdirectory:
another_one:
+group: real
meta:
owner: Tony
contracted_models:
Expand All @@ -56,6 +57,7 @@ models:
jinja_key: "{{ target.name }}"

seeds:
+group: sunflower
test:
+enabled: false
empty_subdirectory:
Expand Down
5 changes: 5 additions & 0 deletions tests/1.6/invalid/dbt_yml_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ models:
- unique
- not_null

semantic_models:
- model: ref('models')
name: model
group: farmhands_only

metrics:
- name: new_customers
label: New Customers marked 'paying'
Expand Down
1 change: 1 addition & 0 deletions tests/1.6/valid/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ models:
materialized: table
empty_subdirectory:
another_one:
+group: real
meta:
owner: Tony
contracted_models:
Expand Down
1 change: 1 addition & 0 deletions tests/1.6/valid/dbt_yml_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ models:

snapshots:
- name: snapshot_name
group: analytics
description: slowly changing dimension
columns:
- name: id
Expand Down

0 comments on commit 629d43a

Please sign in to comment.