forked from dbt-labs/dbt-snowflake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (34 loc) · 857 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
36
37
38
[tox]
skipsdist = True
envlist = py37,py38,py39,flake8
[testenv:flake8]
description = flake8 code checks
basepython = python3.8
skip_install = true
commands = flake8 --select=E,W,F --ignore=W504,E741 --max-line-length 99 \
dbt
deps =
-rdev_requirements.txt
[testenv:{unit,py37,py38,py39,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,py37,py38,py39,py}-{snowflake}]
description = adapter plugin integration testing
skip_install = true
passenv = DBT_* SNOWFLAKE_TEST_* PYTEST_ADDOPTS
commands =
snowflake: {envpython} -m pytest {posargs} -m profile_snowflake tests/integration
deps =
-rdev_requirements.txt
-e.
[pytest]
env_files =
test.env
testpaths =
tests/unit
tests/integration