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:
Jimmy McCrory 2016-10-19 06:02:18 -07:00
parent fcf7fc3735
commit 0c964ebedc

View File

@ -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]