Skip to content

Commit

Permalink
tox: build env for package building
Browse files Browse the repository at this point in the history
  • Loading branch information
ibressler committed Feb 13, 2023
1 parent bcaaa54 commit 91969bb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ commands =
[tox]
envlist =
clean,
build,
check,
docs,
{py38,py39,py310,py311},
Expand All @@ -23,11 +24,14 @@ basepython =
py39: {env:TOXPYTHON:python3.9}
py310: {env:TOXPYTHON:python3.10}
py311: {env:TOXPYTHON:python3.11}
{bootstrap,clean,check,report,docs}: {env:TOXPYTHON:python3}
{bootstrap,clean,build,check,report,docs}: {env:TOXPYTHON:python3}
setenv =
PYTHONPATH={toxinidir}/tests
PYTHONUNBUFFERED=yes
usedevelop = false
wheel = true
wheel_build_env = build
wheel_pep517 = true
deps =
pytest
pytest-cov
Expand All @@ -36,6 +40,10 @@ commands =
{posargs:pytest --cov --cov-report=term-missing -vv}
coverage combine

[testenv:build]
skip_install = true
commands =

[testenv:check]
deps =
docutils
Expand Down

0 comments on commit 91969bb

Please sign in to comment.