summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-02-11 22:16:28 -0500
committerJason R. Coombs <jaraco@jaraco.com>2021-02-11 22:16:28 -0500
commitea86b0d26872042737c1fea74eddebe0b6cbf207 (patch)
tree3acc35378119e069d65c09ac0ed5e530856d8aa6 /tox.ini
parent0880a9876cf424458b82757d1c7504be58f9c2c1 (diff)
parenta11446dc8ad2207306a0b58d61a6d404b56ecc4b (diff)
downloadpytest-runner-ea86b0d26872042737c1fea74eddebe0b6cbf207.tar.gz
Merge branch '2020-handoff' of https://github.com/jaraco/skeleton
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini23
1 files changed, 10 insertions, 13 deletions
diff --git a/tox.ini b/tox.ini
index 2e22bd3..d624e65 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,38 +3,34 @@ envlist = python
minversion = 3.2
# https://github.com/jaraco/skeleton/issues/6
tox_pip_extensions_ext_venv_update = true
-# Ensure that a late version of pip is used even on tox-venv.
-requires =
- tox-pip-version>=0.0.6
- tox-venv
+toxworkdir={env:TOX_WORK_DIR:.tox}
[testenv]
deps =
- setuptools>=31.0.1
-pip_version = pip
commands =
pytest {posargs}
usedevelop = True
extras = testing
-[testenv:build-docs]
+[testenv:docs]
extras =
- docs
- testing
+ docs
+ testing
changedir = docs
commands =
- python -m sphinx . {toxinidir}/build/html
+ python -m sphinx . {toxinidir}/build/html
[testenv:release]
skip_install = True
deps =
pep517>=0.5
- twine>=1.13
- path.py
- jaraco.tidelift
+ twine[keyring]>=1.13
+ path
+ jaraco.develop>=7.1
passenv =
TWINE_PASSWORD
+ GITHUB_TOKEN
TIDELIFT_TOKEN
setenv =
TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
@@ -42,4 +38,5 @@ commands =
python -c "import path; path.Path('dist').rmtree_p()"
python -m pep517.build .
python -m twine upload dist/*
+ python -m jaraco.develop.create-github-release
python -m jaraco.tidelift.publish-release-notes