diff --git a/changelog.d/1015.misc.rst b/changelog.d/1015.misc.rst new file mode 100644 index 0000000000000000000000000000000000000000..c35f8ec27211700e4449a4d8bc3b153ae6852b8b_Y2hhbmdlbG9nLmQvMTAxNS5taXNjLnJzdA== --- /dev/null +++ b/changelog.d/1015.misc.rst @@ -0,0 +1,2 @@ +Fixed tox not testing solutions under docs/exercises. +Reported and fixed by @ffe4 (gh pr #1015) diff --git a/tox.ini b/tox.ini index f07fcc8be9c7c807d25d25bd0c46a3ef8efd9f5d_dG94LmluaQ==..c35f8ec27211700e4449a4d8bc3b153ae6852b8b_dG94LmluaQ== 100644 --- a/tox.ini +++ b/tox.ini @@ -16,10 +16,10 @@ description = run the unit tests with pytest under {basepython} setenv = COVERAGE_FILE={toxworkdir}/.coverage.{envname} passenv = DATEUTIL_MAY_CHANGE_TZ TOXENV CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* CODECOV_* SYSTEM_* AGENT_* BUILD_* TF_BUILD -commands = python -m pytest {posargs: "{toxinidir}/dateutil/test" --cov-config="{toxinidir}/tox.ini" --cov=dateutil} +commands = python -m pytest {posargs: "{toxinidir}/dateutil/test" "{toxinidir}/docs" --cov-config="{toxinidir}/tox.ini" --cov=dateutil} deps = -rrequirements-dev.txt [testenv:py33] description = run the unit tests with pytest under Python 3.3 setenv = COVERAGE_FILE={toxworkdir}/.coverage.{envname} passenv = DATEUTIL_MAY_CHANGE_TZ TOXENV CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* CODECOV_* SYSTEM_* AGENT_* BUILD_* TF_BUILD @@ -20,10 +20,10 @@ deps = -rrequirements-dev.txt [testenv:py33] description = run the unit tests with pytest under Python 3.3 setenv = COVERAGE_FILE={toxworkdir}/.coverage.{envname} passenv = DATEUTIL_MAY_CHANGE_TZ TOXENV CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* CODECOV_* SYSTEM_* AGENT_* BUILD_* TF_BUILD -commands = python -m pytest {posargs: "{toxinidir}/dateutil/test" --cov-config="{toxinidir}/tox.ini" --cov=dateutil} +commands = python -m pytest {posargs: "{toxinidir}/dateutil/test" "{toxinidir}/docs" --cov-config="{toxinidir}/tox.ini" --cov=dateutil} deps = -rrequirements/3.3/requirements-dev.txt -crequirements/3.3/constraints.txt