forked from datacoves/dbt-coves
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
51 lines (47 loc) · 1.01 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
39
40
41
42
43
44
45
46
47
48
49
50
51
[tox]
envlist = dbt110,dbt150
isolated_build = true
skip_missing_interpreters = true
require_poetry = true
setenv =
COVERAGE_FILE = .coverage.{envname}
[testenv:dbt110]
deps=
dbt-core==1.1.0
dbt-postgres==1.1.0
dbt-bigquery==1.1.0
dbt-snowflake==1.1.0
redshift-connector
pytest
coverage
allowlist_externals =
poetry
echo
pytest
commands =
poetry run pytest --cov-report=xml:coverage-reports/dbt110-coverage.xml --cov-report term-missing --cov=dbt_coves tests/
coverage report -m
[testenv:150]
deps=
dbt-core==1.5.0
dbt-postgres==1.5.0
dbt-bigquery==1.5.0
dbt-snowflake==1.5.0
redshift-connector
pytest
coverage
allowlist_externals =
poetry
echo
pytest
commands =
poetry run pytest --cov-report=xml:coverage-reports/coverage.xml --cov-report term-missing --cov=dbt_coves tests/
coverage report -m
[gh-actions]
python =
3.8: py38
3.7: py37
[gh-actions:env]
PLATFORM =
ubuntu-latest: linux
windows-latest: windows