Skip to content

Add support for ansible-test sanity with docker

Compare
Choose a tag to compare
@richm richm released this 01 Apr 23:28
· 145 commits to main since this release
58a4e57

There have been several issues lately with using ansible-test sanity in the tox venv possibly related to a new github actions environment or a new version of ansible-test. The Galaxy team and Automation Hub use ansible-test sanity --docker. Let's use this for our tox CI.
The .github/workflows/tox.yml for each role will need to set

env:
  TOX_LSR: "git+https://github.com/linux-system-roles/[email protected]"
  LSR_ANSIBLE_TEST_DOCKER: "true"

to use docker in CI