Skip to content

Commit

Permalink
Test for dbt 1.7 (#48)
Browse files Browse the repository at this point in the history
* Test for dbt 1.7
  • Loading branch information
JCZuurmond authored Nov 7, 2023
1 parent 206b0a0 commit ef116b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- Test dbt v1.7 ([PR](https://github.com/godatadriven/pytest-dbt-core/pull/48))

## [0.2.3] - 2023-08-25

- Remove upper version constrain for dbt core ([PR](https://github.com/godatadriven/pytest-dbt-core/pull/43))
Expand Down
10 changes: 6 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ where = src

[options.extras_require]
test =
dbt-spark[ODBC]>=1.1.0,<1.7.0
dbt-spark[ODBC]>=1.1.0,<1.8.0
pyspark>=3.0.0,<4.0.0
pre-commit>=2.14.1
pytest>=6.2.5
Expand Down Expand Up @@ -71,9 +71,9 @@ spark_options =

[tox:tox]
envlist =
py3.7-dbt-spark{11,12,13,14,15} # dbt-spark v1.6 does not support Python 3.7
py{3.8,3.9,3.10}-dbt-spark{11,12,13,14,15,16}
py3.11-dbt-spark{14,15,16} # Previous dbt-spark versions fail when using Python 3.11
py3.7-dbt-spark{11,12,13,14,15} # dbt-spark v1.6 or later does not support Python 3.7
py{3.8,3.9,3.10}-dbt-spark{11,12,13,14,15,16,17}
py3.11-dbt-spark{14,15,16,17} # Previous dbt-spark versions fail when using Python 3.11
isolated_build = true
skip_missing_interpreters = true

Expand All @@ -94,6 +94,7 @@ deps =
dbt-spark14: dbt-spark[ODBC]~=1.4.0
dbt-spark15: dbt-spark[ODBC]~=1.5.0
dbt-spark16: dbt-spark[ODBC]~=1.6.0
dbt-spark17: dbt-spark[ODBC]~=1.7.0
pip >= 19.3.1
extras = test
commands = pytest {posargs:tests}
Expand All @@ -113,6 +114,7 @@ deps =
dbt-spark14: dbt-spark[ODBC]~=1.4.0
dbt-spark15: dbt-spark[ODBC]~=1.5.0
dbt-spark16: dbt-spark[ODBC]~=1.6.0
dbt-spark17: dbt-spark[ODBC]~=1.7.0
pip >= 19.3.1
extras = test
commands_pre = dbt deps --project-dir {toxinidir}/docs/source/_static/dbt_project --profiles-dir {toxinidir}/docs/source/_static/dbt_project
Expand Down

0 comments on commit ef116b2

Please sign in to comment.