molecule
molecule copied to clipboard
molecule multiple test roles
I want to use molecule and integrate it in my Gitlab CI/CD chain to test all my roles that are in a single directory but for the moment I can only test on one role at a time and not the whole directory that contains the roles. I know it needs the molecule.yml file to run the tests but how can I automate this on each role at the same time? Need help!
Please take a look at the FAQ entry Does Molecule support monorepos? It's also often done in a CI job where the roles are discovered through a custom script and then molecule is executed against those roles.