mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
This enables us to skip youtube-dl tests in GitHub Actions by ensuring that the "CI" env var is passed to tox.
28 lines
496 B
INI
28 lines
496 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: py310
|
|
|
|
[testenv]
|
|
setenv = PYWB_NO_VERIFY_SSL = 1
|
|
passenv = *
|
|
deps =
|
|
-rtest_requirements.txt
|
|
-rrequirements.txt
|
|
-rextra_requirements.txt
|
|
commands =
|
|
py.test --cov-config .coveragerc --cov pywb -v --doctest-modules ./pywb/ tests/
|
|
|
|
|