Skip to content

Commit cc9e59f

Browse files
committed
Only test with html5lib when extensive is set
1 parent a6c6b1a commit cc9e59f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ setenv =
1515
COVERAGE_FILE = {env:COVERAGE_FILE:{toxinidir}/.coverage.{envname}}
1616
MYPY_CACHE_DIR = {envdir}/.mypy_cache
1717
docs: POETRY_ARGS_docs = --only=docs
18-
extensive: POETRY_ARGS_extensive = --extras=berkeleydb --extras=networkx
18+
extensive: POETRY_ARGS_extensive = --extras=berkeleydb --extras=networkx --extras=html
1919
lxml: POETRY_ARGS_lxml = --extras=lxml
2020
commands_pre =
2121
py3{7,8,9,10,11}: python -c 'import os; print("\n".join(f"{key}={value}" for key, value in os.environ.items()))'
2222
py3{7,8,9,10,11}: poetry lock --check
23-
py3{7,8,9,10,11}: poetry install --no-root --only=main --only=dev --only=flake8 --only=tests --extras=html {env:POETRY_ARGS_docs:} {env:POETRY_ARGS_extensive:} {env:POETRY_ARGS_lxml:} {env:POETRY_ARGS:} --sync
23+
py3{7,8,9,10,11}: poetry install --no-root --only=main --only=dev --only=flake8 --only=tests {env:POETRY_ARGS_docs:} {env:POETRY_ARGS_extensive:} {env:POETRY_ARGS_lxml:} {env:POETRY_ARGS:} --sync
2424
commands =
2525
{env:TOX_EXTRA_COMMAND:}
2626
{env:TOX_MYPY_COMMAND:poetry run python -m mypy --show-error-context --show-error-codes --junit-xml=test_reports/{env:TOX_JUNIT_XML_PREFIX:}mypy-junit.xml}

0 commit comments

Comments
 (0)