Ensure testing is against current commit
By using the centralized testing repo and its ansible.cfg file, a git clone of the plugins repo is made to ~/.ansible/ and used for testing. Effectively, testing of plugins is only done against the last merged commit. Set environment variables through tox so that ansible uses the library and plugin paths in tree. Change-Id: I61d60ae997d1bbcfdfa154a68908f7131ebc11c3
This commit is contained in:
parent
fcf7fc3735
commit
0c964ebedc
6
tox.ini
6
tox.ini
@ -27,6 +27,12 @@ setenv =
|
||||
TEST_IDEMPOTENCE=false
|
||||
VIRTUAL_ENV={envdir}
|
||||
WORKING_DIR={toxinidir}
|
||||
ANSIBLE_ACTION_PLUGINS={toxinidir}/action
|
||||
ANSIBLE_CALLBACK_PLUGINS={toxinidir}/callback
|
||||
ANSIBLE_CONNECTION_PLUGINS={toxinidir}/connection
|
||||
ANSIBLE_FILTER_PLUGINS={toxinidir}/filter
|
||||
ANSIBLE_LOOKUP_PLUGINS={toxinidir}/lookup
|
||||
ANSIBLE_LIBRARY={toxinidir}/library
|
||||
|
||||
|
||||
[testenv:docs]
|
||||
|
Loading…
Reference in New Issue
Block a user