File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1616
1717 # Ensure tests can sense settings about the environment
1818 TOX_OVERRIDE : >-
19- testenv.pass_env+=GITHUB_*
19+ testenv.pass_env+=GITHUB_*,FORCE_COLOR
2020
2121
2222jobs :
Original file line number Diff line number Diff line change 11[testenv]
2+ description = perform primary checks (tests, style, types, coverage)
23deps =
34setenv =
45 PYTHONWARNDEFAULTENCODING = 1
@@ -11,6 +12,7 @@ extras =
1112 testing
1213
1314[testenv:diffcov]
15+ description = run tests and check that diff from main is covered
1416deps =
1517 diff-cover
1618commands =
@@ -19,6 +21,7 @@ commands =
1921 diff-cover coverage.xml --compare-branch =origin/main --fail-under =100
2022
2123[testenv:docs]
24+ description = build the documentation
2225extras =
2326 docs
2427 testing
@@ -28,22 +31,24 @@ commands =
2831 python -m sphinxlint
2932
3033[testenv:finalize]
34+ description = assemble changelog and tag a release
3135skip_install = True
3236deps =
3337 towncrier
3438 jaraco.develop >= 7.23
35- passenv = *
39+ pass_env = *
3640commands =
3741 python -m jaraco.develop.finalize
3842
3943
4044[testenv:release]
45+ description = publish the package to PyPI and GitHub
4146skip_install = True
4247deps =
4348 build
4449 twine>=3
4550 jaraco.develop>=7.1
46- passenv =
51+ pass_env =
4752 TWINE_PASSWORD
4853 GITHUB_TOKEN
4954setenv =
You can’t perform that action at this time.
0 commit comments