diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5c19633e..3d9fd434 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -91,3 +91,4 @@ stages: - linux: py39-sphinx4 - linux: py39-sphinx5 - linux: py310-sphinx4 + - linux: py310-conda diff --git a/tox.ini b/tox.ini index f59e243b..57316ab5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{37,38,39,310,311}{-sphinx4,-sphinx5,-sphinx6,-sphinxdev,-docs} + py{37,38,39,310,311}{-sphinx4,-sphinx5,-sphinx6,-sphinxdev,-docs,-conda} codestyle requires = setuptools >= 30.3.0 @@ -47,3 +47,34 @@ deps = commands = pre-commit install-hooks pre-commit run --color always --verbose --all-files --show-diff-on-failure + +# Requires tox-conda +[testenv:py{38,39,310,311}-conda] +pypi_filter = +extras = +deps = +conda_deps = + alabaster + docutils + feedgen + git + graphviz + invoke + make + myst-parser + nbsphinx + pandoc + python-dateutil + sphinx + sphinx-automodapi + watchdog +conda_channels = conda-forge +install_command = pip install --no-deps --no-build-isolation {opts} {packages} +allowlist_externals = + conda + make + git +commands = + conda list + pytest ./ + make tests