-
Notifications
You must be signed in to change notification settings - Fork 173
/
tox.ini
53 lines (49 loc) · 1.32 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
[tox]
envlist =
py38-airflow{1108,2}
py39-airflow{1108,2}
py310-airflow{1108,2}
[gh-actions]
python =
3.8: py38-airflow{1108,2}
3.9: py39-airflow{1108,2}
3.10: py310-airflow{1108,2}
[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