mirror of
https://github.com/dbt-labs/dbt-core
synced 2025-12-17 19:31:34 +00:00
* delete dbt-tests-adapter and dbt-postgres from dbt-core * update non-code files to reflect change * add changie * update build-dist.sh * update tox.ini * fix build-dist.sh * move adapter tests into /functional dir * remove adapter unit tests * update code comments and README.md
38 lines
966 B
INI
38 lines
966 B
INI
[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
|
|
|
|
deps =
|
|
-rdev-requirements.txt
|
|
-reditable-requirements.txt
|