Skip to content

Sanity tests use Python version, they should not do that #120

Description

@felixfontein

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions