actions-marketplace-validations/ansible-test

GitHub Action for checking Ansible Collections with ansible-test

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Nov 14, 2022
License
GPL 3.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/ansible-community_ansible-test-gh-action@ce3e83585495ccb95be59a9698a342f50e0d929a # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
ansible-core-version`ansible-core` Git revision. See https://github.com/ansible/ansible/tags and https://github.com/ansible/ansible/branches/all?query=stable- for ideas. The repository this refers to can be changed with the `ansible-core-github-repository-slug` option.yesstable-2.14
ansible-core-github-repository-slugThe GitHub repository slug from which to check out ansible-coreansible/ansible
controller-python-versionController Python version. Only used for integration tests and ansible-core 2.12 or later when `target-python-version` is also specified.auto
collection-rootCollection root relative to repository root.
collection-src-directoryA pre-checked out collection directory that's already on disk, substitutes getting the source from the remote Git repository if set. This action will not attempt to mutate its contents
docker-imageDocker image used by ansible-test
git-checkout-refCommittish to check out, unused if `collection-src-directory` is set
origin-python-versionEnvironment Python version. The value `auto` uses the maximum Python version supported by the given `ansible-core-version`.auto
pre-test-cmdExtra command to invoke before ansible-test
python-version**(DEPRECATED)** Use `origin-python-version` instead. This is only kept for backwards compatibility.
targetansible-test TARGET
target-python-versionTarget Python version
testing-typeOne of 'sanity', 'units' or 'integration'yes
test-depsTest dependencies to install along with this collection
namedescription
ansible-playbook-executablePath to the auto-installed `ansible-playbook` executable
ansible-test-executablePath to the auto-installed `ansible-test` executable
checkout-directoryPath to the auto-downloaded collection src directory
collection-fqcnDetected collection FQCN
collection-nameDetected collection name
collection-namespaceDetected collection namespace
origin-python-pathThe [`python-path` output value](https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#python-path) of the [setup-python](https://github.com/actions/setup-python/#readme) action.
origin-python-versionThe actual value of `origin-python-version` passed to the [setup-python](https://github.com/actions/setup-python/#readme) action.