Skip to content

Commit

Permalink
add databricks integ tests back (#578)
Browse files Browse the repository at this point in the history
* add mypy ignore to column, connections and init

* add databricks integ tests back

* remove exclusion

* fix pydantic version issue
  • Loading branch information
colin-rogers-dbt authored Jan 4, 2023
1 parent 764cea7 commit 5ca20be
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ workflows:
- integration-spark-thrift:
requires:
- unit
# - integration-spark-databricks-http:
# requires:
# - integration-spark-thrift
# - integration-spark-databricks-odbc-cluster:
# requires:
# - integration-spark-thrift
# - integration-spark-databricks-odbc-endpoint:
# requires:
# - integration-spark-thrift
- integration-spark-databricks-http:
requires:
- integration-spark-thrift
- integration-spark-databricks-odbc-cluster:
requires:
- integration-spark-thrift
- integration-spark-databricks-odbc-endpoint:
requires:
- integration-spark-thrift
2 changes: 1 addition & 1 deletion tests/functional/adapter/test_python_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def model(dbt, spark):
"ResourceClass": "SingleNode"
}
},
packages=['spacy', 'torch']
packages=['spacy', 'torch', 'pydantic<1.10.3']
)
data = [[1,2]] * 10
return spark.createDataFrame(data, schema=['test', 'test2'])
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ deps =
allowlist_externals =
/bin/bash
basepython = python3.8
commands = /bin/bash -c '{envpython} -m pytest -v --profile databricks_sql_endpoint {posargs} -n4 tests/functional/adapter/*'
commands = /bin/bash -c '{envpython} -m pytest -v --profile databricks_sql_endpoint {posargs} -n4 tests/functional/adapter/*'
/bin/bash -c '{envpython} -m pytest -v -m profile_databricks_sql_endpoint {posargs} -n4 tests/integration/*'
passenv =
DBT_*
Expand Down

0 comments on commit 5ca20be

Please sign in to comment.