Skip to content

Commit 5ca20be

Browse files
add databricks integ tests back (#578)
* add mypy ignore to column, connections and init * add databricks integ tests back * remove exclusion * fix pydantic version issue
1 parent 764cea7 commit 5ca20be

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.circleci/config.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,12 @@ workflows:
121121
- integration-spark-thrift:
122122
requires:
123123
- unit
124-
# - integration-spark-databricks-http:
125-
# requires:
126-
# - integration-spark-thrift
127-
# - integration-spark-databricks-odbc-cluster:
128-
# requires:
129-
# - integration-spark-thrift
130-
# - integration-spark-databricks-odbc-endpoint:
131-
# requires:
132-
# - integration-spark-thrift
124+
- integration-spark-databricks-http:
125+
requires:
126+
- integration-spark-thrift
127+
- integration-spark-databricks-odbc-cluster:
128+
requires:
129+
- integration-spark-thrift
130+
- integration-spark-databricks-odbc-endpoint:
131+
requires:
132+
- integration-spark-thrift

tests/functional/adapter/test_python_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def model(dbt, spark):
3939
"ResourceClass": "SingleNode"
4040
}
4141
},
42-
packages=['spacy', 'torch']
42+
packages=['spacy', 'torch', 'pydantic<1.10.3']
4343
)
4444
data = [[1,2]] * 10
4545
return spark.createDataFrame(data, schema=['test', 'test2'])

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ deps =
4545
allowlist_externals =
4646
/bin/bash
4747
basepython = python3.8
48-
commands = /bin/bash -c '{envpython} -m pytest -v --profile databricks_sql_endpoint {posargs} -n4 tests/functional/adapter/*'
48+
commands = /bin/bash -c '{envpython} -m pytest -v --profile databricks_sql_endpoint {posargs} -n4 tests/functional/adapter/*'
4949
/bin/bash -c '{envpython} -m pytest -v -m profile_databricks_sql_endpoint {posargs} -n4 tests/integration/*'
5050
passenv =
5151
DBT_*

0 commit comments

Comments
 (0)