Skip to content

Commit 353c3df

Browse files
committed
2 parents 9d6d8b5 + ca1831c commit 353c3df

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
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
2222
jobs:

tox.ini

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[testenv]
2+
description = perform primary checks (tests, style, types, coverage)
23
deps =
34
setenv =
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
1416
deps =
1517
diff-cover
1618
commands =
@@ -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
2225
extras =
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
3135
skip_install = True
3236
deps =
3337
towncrier
3438
jaraco.develop >= 7.23
35-
passenv = *
39+
pass_env = *
3640
commands =
3741
python -m jaraco.develop.finalize
3842

3943

4044
[testenv:release]
45+
description = publish the package to PyPI and GitHub
4146
skip_install = True
4247
deps =
4348
build
4449
twine>=3
4550
jaraco.develop>=7.1
46-
passenv =
51+
pass_env =
4752
TWINE_PASSWORD
4853
GITHUB_TOKEN
4954
setenv =

0 commit comments

Comments
 (0)