mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
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:
parent
c5d7168042
commit
d9d01869c3
5
tox.ini
5
tox.ini
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user