From 212f828667e88c666cb4456c81e68a3934ca146b Mon Sep 17 00:00:00 2001 From: Cor Zuurmond Date: Fri, 29 Sep 2023 14:57:20 +0200 Subject: [PATCH] Reset tox.ini --- tox.ini | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index e456d55d0..4e9f66c28 100644 --- a/tox.ini +++ b/tox.ini @@ -57,6 +57,9 @@ deps = [testenv:integration-spark-thrift] description = run integration tests against a Spark thrift server +allowlist_externals = + /bin/bash +basepython = python3.9 passenv = DBT_* PYTEST_ADDOPTS @@ -64,7 +67,7 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/dev-requirements.txt -e. -commands = pytest -v --profile apache_spark {posargs} -n4 tests/functional/adapter/* +commands = /bin/bash -c '{envpython} -m pytest -v --profile apache_spark {posargs} -n4 tests/functional/adapter/*' [testenv:integration-spark-session] description = run integration tests against a Spark session @@ -76,4 +79,4 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/dev-requirements.txt -e.[session] -commands = pytest -v --profile spark_session {posargs} -n4 tests/functional/adapter/* +commands = /bin/bash -c '{envpython} -m pytest -v --profile spark_session {posargs} -n4 tests/functional/adapter/*'