-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Unable to run sanity tests #342
Comments
You can look in CI code: https://github.com/sshnaidm/ansible-podman-collections/blob/master/.github/workflows/collection-continuous-integration.yml#L97-L105 To run it you need firstly to install collection somewhere, then go to this directory and run ansible-test there. ansible-test sanity --color --requirements --python python3 -vvv plugins/ tests/ |
The collection has already been installed (as shown in step 4 of my test), so that's not the issue here... I think that the origin of the error is coming from the ansible-test version: on Ubuntu 20.04, this module isn't provided by the official ansible package so I need to install it using pip which clearly shows that this package is yanked:
I also looked at the CI code and it seems that you're not using the official ansible package, but instead you install the whole ansible distribution using pip: https://github.com/sshnaidm/ansible-podman-collections/blob/8829be323168d49e9283377db50bee3df647df45/.github/workflows/collection-continuous-integration.yml#L86 IMHO if this is a requirement, then it should be documented as such in the README. |
/kind bug
Description
It's still unclear to me if I'm doing something wrong but I'm unable to launch the sanity tests using ansible-test.
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
No template error
The text was updated successfully, but these errors were encountered: