-
Notifications
You must be signed in to change notification settings - Fork 15
/
tox.ini
60 lines (54 loc) · 1.25 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
52
53
54
55
56
57
58
59
60
[tox]
envlist = dbt110,dbt170
isolated_build = true
skip_missing_interpreters = true
require_poetry = true
setenv =
COVERAGE_FILE = .coverage.{envname}
[testenv:dbt110]
basepython = python3.9
passenv = *
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 add apache-airflow==2.7.3 kubernetes
poetry run pytest --cov-report=xml:coverage-reports/dbt110-coverage.xml --cov-report term-missing --cov=dbt_coves tests/
coverage report -m
poetry remove apache-airflow kubernetes
[testenv:dbt170]
basepython = python3.10
passenv = *
deps=
dbt-core==1.8.0
dbt-postgres==1.8.0
dbt-bigquery==1.8.0
dbt-snowflake==1.8.0
redshift-connector
pytest
coverage
allowlist_externals =
poetry
echo
pytest
commands =
poetry add apache-airflow==2.7.3 kubernetes
poetry run pytest --cov-report=xml:coverage-reports/coverage.xml --cov-report term-missing --cov=dbt_coves tests/
coverage report -m
poetry remove apache-airflow kubernetes
[gh-actions]
python =
3.8: py38
[gh-actions:env]
PLATFORM =
ubuntu-latest: linux
windows-latest: windows