1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 08:04:49 +01:00
pywb/tox.ini
Ilya Kreymer 2ccd8eb2c3
tests run improvements: update from python setup.py test -> tox (#754)
* tests cleanup:
- move test requirements to test_requirements.txt to share between setup.py and tox.ini
- README: update to recommend using 'tox --current-env' for running tests locally
- replaces #741

* test tweaks:
- don't require i18n to import locmanager, instead set flag on load (to avoid breaking tox / pytest)
- don't add werkzeug to test requirements
2022-08-31 16:04:55 -07:00

26 lines
451 B
INI

[pytest]
#addopts = --cov pywb -vv --doctest-modules pywb --cov-report=xml --cov-report=term
testpaths =
tests
[tox]
envlist = py36, py37, py38, py39, py310
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py39
[testenv]
deps =
-rtest_requirements.txt
-rrequirements.txt
-rextra_requirements.txt
commands =
py.test --cov-config .coveragerc --cov pywb -v --doctest-modules ./pywb/ tests/