Skip to content

Commit

Permalink
add conda build
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Nov 15, 2022
1 parent 1569a76 commit add948a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,4 @@ stages:
- linux: py39-sphinx4
- linux: py39-sphinx5
- linux: py310-sphinx4
- linux: py310-conda
33 changes: 32 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

0 comments on commit add948a

Please sign in to comment.