forked from dbt-labs/dbt-core
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
38 lines (35 loc) · 1.03 KB
/
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
36
37
38
[tox]
skipsdist = True
envlist = unit,integration
[testenv:{unit,py38,py39,py310,py311,py}]
description = unit testing
download = true
skip_install = true
passenv =
DBT_*
PYTEST_ADDOPTS
commands =
{envpython} -m pytest --cov=core --cov-report=xml {posargs} tests/unit
deps =
-rdev-requirements.txt
-reditable-requirements.txt
[testenv:{integration,py38-integration,py39-integration,py310-integration,py311-integration,py-integration}]
description = functional testing
download = true
skip_install = true
passenv =
DBT_*
POSTGRES_TEST_*
PYTEST_ADDOPTS
DD_CIVISIBILITY_AGENTLESS_ENABLED
DD_API_KEY
DD_SITE
DD_ENV
DD_SERVICE
commands =
{envpython} -m pytest --cov=core --cov-append --cov-report=xml {posargs} tests/functional -k "not tests/functional/graph_selection"
{envpython} -m pytest --cov=core --cov-append --cov-report=xml {posargs} tests/functional/graph_selection
{envpython} -m pytest --cov=core --cov-append --cov-report=xml {posargs} tests/adapter
deps =
-rdev-requirements.txt
-reditable-requirements.txt