Only install ansible-core for collection tests

Faster!
This commit is contained in:
Shane McDonald 2021-06-09 12:39:33 -04:00 committed by Jeff Bradberry
parent 7a16782ebf
commit 673afdf1b5

View File

@ -315,7 +315,7 @@ test_collection:
if [ "$(VENV_BASE)" ]; then \
. $(VENV_BASE)/awx/bin/activate; \
fi && \
pip install ansible && \
pip install ansible-core && \
py.test $(COLLECTION_TEST_DIRS) -v
# The python path needs to be modified so that the tests can find Ansible within the container
# First we will use anything expility set as PYTHONPATH