This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
tabularfile/tox.ini

26 lines
750 B
INI

[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/tabularfile/
envlist = py3,py{36,37,38}-charamel,py3-isodate,py3-dateutil
skip_missing_interpreters = true
[testenv]
deps =
pytest
pytest-cov
charamel: charamel
isodate: isodate
dateutil: python-dateutil
pytz
setenv =
JUNIT={tty::-o junit_suite_name={envname} --junit-xml=junit-{envname}.xml}
COVERAGE={tty::--cov=tabularfile --cov-branch --cov-append --cov-report xml --cov-report html}
TESTS=tests
charamel: TESTS=tests/test_csv.py -k charamel
isodate: TESTS=tests/test_ods.py -k ods_typed
dateutil: TESTS=tests/test_ods.py -k ods_typed
commands =
pytest {tty:--sw --durations=30:} {env:JUNIT:} {env:COVERAGE:} {posargs:{env:TESTS:tests}}
[pytest]
junit_family=xunit2