mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Pass the HOME environment variable to testenv in tox.ini
In order to avoid the "missing HOME variable" issue when running the unit tests, this patch is passing the HOME environment variable to [testenv]. Fixes #20424
This commit is contained in:
parent
fbfe66967d
commit
e8a94acffa
1 changed files with 4 additions and 0 deletions
4
tox.ini
4
tox.ini
|
@ -16,6 +16,10 @@ commands =
|
|||
py27: python -m compileall -fq -x 'test/samples' lib test contrib
|
||||
py3{5,6}: python -m compileall -fq -x 'test/samples|lib/ansible/modules' lib test contrib
|
||||
make tests
|
||||
passenv =
|
||||
# Pass HOME to the test environment to avoid the missing HOME env
|
||||
# variable error. See issue: #20424
|
||||
HOME
|
||||
|
||||
|
||||
[flake8]
|
||||
|
|
Loading…
Reference in a new issue