forked from pydata/patsy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
21 lines (20 loc) · 1004 Bytes
/
tox.ini
File metadata and controls
21 lines (20 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[tox]
envlist = {py27,py36,py37,py38,py39}-{with_pandas,without_pandas}
[testenv]
deps=
.[test]
with_pandas: pandas
# Display all warnings, and error out on any warnings attributed to
# code in the patsy namespace (but not ones triggered by pytest, etc.):
setenv=
PYTHONWARNINGS=default
PATSY_FORCE_NO_WARNINGS=1
# Work around terrible pathological behaviour in OpenBLAS/MKL/VML multithreading, that causes
# execution time to blow up from 3 minutes to 18 minutes, apparently in SVD on smallish matrices
OMP_NUM_THREADS=1
MKL_NUM_THREADS=1
VML_NUM_THREADS=1
commands=
pytest -vv --cov=patsy --cov-config={toxinidir}/.coveragerc --cov-report=term-missing --cov-report=xml --cov-report=html:{toxworkdir}/coverage/{envname} {posargs:}
env PATSY_AVOID_OPTIONAL_DEPENDENCIES=1 pytest -vv --cov=patsy --cov-config={toxinidir}/.coveragerc --cov-report=term-missing --cov-report=xml --cov-report=html:{toxworkdir}/coverage/{envname} {posargs:}
python {toxinidir}/tools/check-API-refs.py