forked from stefan-jansen/zipline-reloaded
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
45 lines (40 loc) · 929 Bytes
/
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
[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]
deps =
pytest
pytest-cov
setenv =
MPLBACKEND = Agg
COVERAGE_FILE=.coverage.{envname}
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{37,38,39}-pandas13: pip install -vv pandas>=1.3.0
py.test --cov --cov-append --cov-report=html {toxinidir}/tests
[testenv:report]
deps = coverage
skip_install = true
commands =
coverage report
coverage html
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase