Pass $HOME to git in tox news environment

This is needed on macOS, or `git commit` would fail.

Also, $HOME has no place in `codechecks` Tox env, since we do not
invoke git there, unlike the (now removed) comment indicated.
This commit is contained in:
Sajith Sasidharan 2021-06-07 17:30:59 -04:00
parent c5d7168042
commit d9d01869c3

View File

@ -111,8 +111,6 @@ commands =
[testenv:codechecks]
basepython = python2.7
# On macOS, git inside of towncrier needs $HOME.
passenv = HOME
whitelist_externals =
/bin/mv
setenv =
@ -175,7 +173,8 @@ commands =
python -m towncrier --draft --config towncrier.toml
[testenv:news]
passenv = TAHOE_LAFS_* PIP_* SUBUNITREPORTER_* USERPROFILE HOMEDRIVE HOMEPATH
# On macOS, git invoked from Tox needs $HOME.
passenv = HOME * TAHOE_LAFS_* PIP_* SUBUNITREPORTER_* USERPROFILE HOMEDRIVE HOMEPATH
# see comment in [testenv] about "certifi"
whitelist_externals = mv
deps =