forked from dbt-checkpoint/dbt-checkpoint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
37 lines (34 loc) · 712 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
[tox]
envlist = py{37,38,39},pypy3,pre-commit
minversion = 3.14.2
requires =
virtualenv >= 16.7.9
pip >= 19.3.1
[testenv]
passenv =
LC_ALL
LANG
HOME
deps = -r{toxinidir}/requirements-dev.txt
skip_install = true
commands =
pip install -e .
pytest --cov=pre_commit_dbt {posargs:tests}
[testenv:pre-commit]
passenv =
LC_ALL
LANG
HOME
deps = pre-commit
skip_install = true
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:cov-report]
passenv =
LC_ALL
LANG
HOME
deps = -r{toxinidir}/requirements-dev.txt
skip_install = true
commands =
pip install -e .
pytest --cov=pre_commit_dbt --cov-report=term --cov-report=html --cov-report=xml