forked from dbt-labs/dbt-spark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
27 lines (23 loc) · 732 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
[tox]
skipsdist = True
envlist = unit, flake8, integration
[testenv:flake8]
basepython = python3
commands = /bin/bash -c '$(which flake8) --select=E,W,F --ignore=W504 dbt/'
deps =
-r{toxinidir}/dev_requirements.txt
[testenv:unit]
basepython = python3
commands = /bin/bash -c '{envpython} -m pytest -v {posargs} test/unit'
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt
[testenv:integration]
basepython = python3
changedir = dbt-integration-tests
commands = /bin/bash -c '{envpython} -m behave -f progress3 --stop -D profile_name=spark'
passenv = SPARK_HOST SPARK_CLUSTER SPARK_TOKEN DBT_PROFILES_DIR
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt
-e.