molecule icon indicating copy to clipboard operation
molecule copied to clipboard

molecule multiple test roles

Open noor47-pixel opened this issue 3 years ago • 1 comments

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!

noor47-pixel avatar Dec 28 '22 09:12 noor47-pixel

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.

gardar avatar Jan 12 '23 11:01 gardar