forked from dbt-labs/dbt-redshift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (32 loc) · 928 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
[tox]
skipsdist = True
envlist = py38,py39,py310,py311
[testenv:{unit,py38,py39,py310,py311,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,py38,py39,py310,py311,py}-{redshift}]
description = adapter plugin integration testing
skip_install = true
passenv =
DBT_*
REDSHIFT_TEST_*
PYTEST_ADDOPTS
DD_CIVISIBILITY_AGENTLESS_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.