-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Sanity tests should not be run for specific Python versions. They should use --docker
(for the default image) to run all sanity tests in a standarized environment.
See for example https://docs.ansible.com/ansible/devel/community/collection_contributors/collection_requirements.html#ci-testing, which explicitly states
Collections MUST run an equivalent of the
ansible-test sanity --docker
command.
If they do not use--docker
, they must make sure that all tests run, in particular the compile and import tests (which should run for all supported Python versions).
Considering that collections can and should explicitly avoid certain Python versions in https://github.com/ansible-network/github_actions/blob/main/.github/workflows/sanity.yml, this doesn't seem to be satisfied.