Skip to content

Commit

Permalink
1 7 compat (#112)
Browse files Browse the repository at this point in the history
* Create baseline 1.7 files

* Ignore package-lock in 1.7

* Add access to dbt_project for 17.

* Fix CI
  • Loading branch information
joellabes authored Dec 14, 2023
1 parent 3b73230 commit e61d85f
Show file tree
Hide file tree
Showing 21 changed files with 3,138 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
test-against-sample-dbt-files:
strategy:
matrix:
dbt-version: ["1.5", "1.6"]
dbt-version: ["1.5", "1.6", "1.7"]
dbt-file-name: ["dbt_project", "packages", "selectors", "dbt_yml_files", "dependencies", "dbt_cloud"]
exclude:
- dbt-version: "1.5"
Expand Down
27 changes: 27 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,33 @@
],
"./schemas/1.6/dependencies-1.6.json": [
"/tests/1.6/**/dependencies.yml"
],
"./schemas/1.7/dbt_yml_files-1.7.json": [
"/tests/1.7/**/*.yml",
"!profiles.yml",
"!dbt_project.yml",
"!dbt_cloud.yml",
"!packages.yml",
"!selectors.yml",
"!dependencies.yml",
"!package-lock.yml",
"!profile_template.yml",
"!/.github/**/*.yml"
],
"./schemas/1.7/dbt_project-1.7.json": [
"/tests/1.7/**/dbt_project.yml"
],
"./schemas/1.7/dbt_cloud-1.7.json": [
"/tests/1.7/**/dbt_cloud.yml"
],
"./schemas/1.7/selectors-1.7.json": [
"/tests/1.7/**/selectors.yml"
],
"./schemas/1.7/packages-1.7.json": [
"/tests/1.7/**/packages.yml"
],
"./schemas/1.7/dependencies-1.7.json": [
"/tests/1.7/**/dependencies.yml"
]

},
Expand Down
14 changes: 14 additions & 0 deletions schemas/1.7/dbt_cloud-1.7.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"project-id": {
"type": "string"
},
"defer-env-id": {
"type": "string"
}
},
"required": ["project-id"],
"additionalProperties": false
}
Loading

0 comments on commit e61d85f

Please sign in to comment.