Skip to content

Commit

Permalink
Update tox
Browse files Browse the repository at this point in the history
  • Loading branch information
JCZuurmond committed Sep 29, 2023
1 parent fd6f6f0 commit 795e40a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -56,23 +56,18 @@ deps =


[testenv:integration-spark-thrift]
allowlist_externals =
/bin/bash
basepython = python3.8
commands = /bin/bash -c '{envpython} -m pytest -v --profile apache_spark {posargs} -n4 tests/functional/adapter/*'
description = run integration tests against a Spark thrift server
passenv =
DBT_*
PYTEST_ADDOPTS
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev-requirements.txt
-e.
commands = pytest -v --profile apache_spark {posargs} -n4 tests/functional/adapter/*

[testenv:integration-spark-session]
allowlist_externals =
/bin/bash
basepython = python3.10
commands = /bin/bash -c '{envpython} -m pytest -v --profile spark_session {posargs} -n4 tests/functional/adapter/*'
description = run integration tests against a Spark session
passenv =
DBT_*
PYTEST_*
Expand All @@ -81,3 +76,4 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev-requirements.txt
-e.[session]
commands = pytest -v --profile spark_session {posargs} -n4 tests/functional/adapter/*

0 comments on commit 795e40a

Please sign in to comment.