-
Notifications
You must be signed in to change notification settings - Fork 666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update tox.yml #4191
Update tox.yml #4191
Conversation
Related: ansible/ansible-compat#387 This is why the collection can't be found |
for more information, see https://pre-commit.ci
@@ -3,7 +3,7 @@ dependency: | |||
name: shell | |||
command: > | |||
bash -c " | |||
ansible-galaxy collection install -p '${MOLECULE_EPHEMERAL_DIRECTORY}/collections' community.molecule && | |||
ansible-galaxy collection install -p '${MOLECULE_EPHEMERAL_DIRECTORY}/collections' community.molecule --force && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was added to ensure the collection is installed because the environment is not isolated and the ANSIBLE_COLLECTIONS_PATH not managed when calling with bash. This will force install the collection even if it exists in a standard location.
The following scenarios will have their collection path set to the ephmeral directory by default.
no runtime changes, self approving to match the common tox |
Switch to shared tox.yml
A couple changes for the tests:
Skip the macos podman and docker test as we don't have podman or docker installed
The
test_command_dependency[dependency-default-shell]
fixture was changed to set the collection path for ansible to the directory where the collection is installed.PYTEST_REQPASS will be reintroduced consistently across the board later