forked from astronomer/dag-factory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
99 lines (92 loc) · 2.52 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[tox]
envlist =
py37-airflow{1108,2}
py38-airflow{1108,2}
py39-airflow{1108,2}
py310-airflow{1108,2}
[gh-actions]
python =
3.7: py37-airflow{1108,2}
3.8: py38-airflow{1108,2}
3.9: py39-airflow{1108,2}
3.10: py310-airflow{1108,2}
[testenv:py37-airflow1108]
deps =
pytest
pytest-cov
apache-airflow[kubernetes] >=1.10.8, <2.0.0
SQLAlchemy==1.3.23
Flask-SQLAlchemy==2.4.4
wtforms<=2.3.3
markupsafe>=1.1.1,<2.1.0
setenv =
AIRFLOW__CORE__SQL_ALCHEMY_CONN = sqlite:///airflow1108.db
commands =
airflow initdb
pytest --cov=dagfactory tests -p no:warnings --verbose --color=yes --cov-report=xml
[testenv:py37-airflow2]
deps =
pytest
pytest-cov
apache-airflow[http,cncf.kubernetes] >=2.0.0
SQLAlchemy==1.3.23
Flask-SQLAlchemy==2.4.4
markupsafe>=1.1.1,<2.1.0
setenv =
AIRFLOW__CORE__SQL_ALCHEMY_CONN = sqlite:////tmp/airflow.db
commands =
airflow db init
pytest --cov=dagfactory tests -p no:warnings --verbose --color=yes --cov-report=xml
[testenv:py38-airflow1108]
deps =
pytest
pytest-cov
apache-airflow[kubernetes] >=1.10.8, <2.0.0
SQLAlchemy==1.3.23
Flask-SQLAlchemy==2.4.4
wtforms<=2.3.3
markupsafe>=1.1.1,<2.1.0
setenv =
AIRFLOW__CORE__SQL_ALCHEMY_CONN = sqlite:///airflow1108.db
commands =
airflow initdb
pytest --cov=dagfactory tests -p no:warnings --verbose --color=yes --cov-report=xml
[testenv:py38-airflow2]
deps =
pytest
pytest-cov
apache-airflow[http,cncf.kubernetes] >=2.0.0
SQLAlchemy==1.3.23
Flask-SQLAlchemy==2.4.4
markupsafe>=1.1.1,<2.1.0
setenv =
AIRFLOW__CORE__SQL_ALCHEMY_CONN = sqlite:////tmp/airflow.db
commands =
airflow db init
pytest --cov=dagfactory tests -p no:warnings --verbose --color=yes --cov-report=xml
[testenv:py39-airflow2]
deps =
pytest
pytest-cov
apache-airflow[http,cncf.kubernetes] >=2.0.0
SQLAlchemy==1.3.23
Flask-SQLAlchemy==2.4.4
markupsafe>=1.1.1,<2.1.0
setenv =
AIRFLOW__CORE__SQL_ALCHEMY_CONN = sqlite:////tmp/airflow.db
commands =
airflow db init
pytest --cov=dagfactory tests -p no:warnings --verbose --color=yes --cov-report=xml
[testenv:py310-airflow2]
deps =
pytest
pytest-cov
apache-airflow[http,cncf.kubernetes] >=2.0.0
SQLAlchemy==1.3.23
Flask-SQLAlchemy==2.4.4
markupsafe>=1.1.1,<2.1.0
setenv =
AIRFLOW__CORE__SQL_ALCHEMY_CONN = sqlite:////tmp/airflow.db
commands =
airflow db init
pytest --cov=dagfactory tests -p no:warnings --verbose --color=yes --cov-report=xml