You may want to use galaxy-importer in your CI process. This importer tool is what we use in our import pipeline to run tests.
Use galaxy-importer to run all import tests and replicate the entirety of the Galaxy import pipeline. Here is a template for running this in Github workflows.
Note - to replicate all checks, you will need to set the following options to True in a galaxy-importer.cfg file: CHECK_CHANGELOG, REQUIRE_V1_OR_LATER, RUN_ANSIBLE_DOC, CHECK_REQUIRED_TAGS, and RUN_ANSIBLE_LINT. See the full list of configuration options here.
Justification
Bring CI coverage into line with Ansible Galaxy best practices.
Proposed Changes
You may want to use galaxy-importer in your CI process. This importer tool is what we use in our import pipeline to run tests.
Use
galaxy-importer
to run all import tests and replicate the entirety of the Galaxy import pipeline. Here is a template for running this in Github workflows.Note - to replicate all checks, you will need to set the following options to True in a galaxy-importer.cfg file:
CHECK_CHANGELOG
,REQUIRE_V1_OR_LATER
,RUN_ANSIBLE_DOC
,CHECK_REQUIRED_TAGS
, andRUN_ANSIBLE_LINT
. See the full list of configuration options here.Justification
Bring CI coverage into line with Ansible Galaxy best practices.