-
Notifications
You must be signed in to change notification settings - Fork 59
/
tox.ini
35 lines (33 loc) · 972 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[tox]
skipsdist = True
envlist = py39,py310,py311,py312
[testenv:{unit,py39,py310,py311,py312,py}]
description = unit testing
skip_install = true
passenv =
DBT_*
PYTEST_ADDOPTS
commands = {envpython} -m pytest {posargs} tests/unit
deps =
-rdev-requirements.txt
-e.
[testenv:{integration,py39,py310,py311,py312,py}-{redshift}]
description = adapter plugin integration testing
skip_install = true
passenv =
DBT_*
REDSHIFT_TEST_*
PYTEST_ADDOPTS
DD_CIVISIBILITY_AGENTLESS_ENABLED
DD_INSTRUMENTATION_TELEMETRY_ENABLED
DD_API_KEY
DD_SITE
DD_ENV
DD_SERVICE
commands =
{envpython} -m pytest --dist=loadscope {posargs} tests/functional -k "not tests/functional/adapter/utils and not tests/functional/adapter/incremental"
{envpython} -m pytest --dist=loadscope {posargs} tests/functional/adapter/utils
{envpython} -m pytest --dist=loadscope {posargs} tests/functional/adapter/incremental
deps =
-rdev-requirements.txt
-e.