forked from stefan-jansen/zipline-reloaded
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
50 lines (45 loc) · 1.19 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
[tox]
envlist = py{37,38,39}-pandas{11,12,13}
isolated_build = True
skip_missing_interpreters = True
minversion = 3.23.0
requires = setuptools >=42.0.0
pip >=21.0
wheel >0.36.0
Cython >0.29.21,<3
numpy
tox-gh-actions
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
[testenv:ci_tests]
; Without this line uploading reports to codecov doesn't work
usedevelop = True
deps =
pytest==6.2.5
pytest-cov
pytest-xdist
setenv =
MPLBACKEND = Agg
changedir = tmp
extras = test
commands =
py{38}-pandas13: pip install -vv pandas>=1.3.0,<1.3.5
py.test --cov={toxinidir}/src --cov-report term --cov-report=xml --cov-report=html:htmlcov {toxinidir}/tests
[testenv:ci_full_tests]
usedevelop = True
deps =
pytest==6.2.5
pytest-cov
pytest-xdist
setenv =
MPLBACKEND = Agg
changedir = tmp
extras = test
commands =
py{37,38,39}-pandas11: pip install -vv pandas>=1.1.0,<1.2.0
py{37,38,39}-pandas12: pip install -vv pandas>=1.2.0,<1.3.0
py{38,38,39}-pandas13: pip install -vv pandas>=1.3.0,<1.3.5
py.test --cov={toxinidir}/src --cov-report term --cov-report=xml --cov-report=html:htmlcov {toxinidir}/tests