Try break out tests in matrix

This commit is contained in:
2023-10-12 16:48:11 +13:00
parent aea0af4d92
commit abcec573ab

View File

@@ -1,8 +1,13 @@
matrix:
MOLECULE_DISTRO:
- centos7
- almalinux8
include:
- MOLECULE_DISTRO: centos7
MOLECULE_SCENARIO:
- default
- fixed-mirror
- MOLECULE_DISTRO: almalinux8
MOLECULE_SCENARIO:
- default
- fixed-mirror
steps:
test:
name: Test on ${MOLECULE_DISTRO}
@@ -11,7 +16,7 @@ steps:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- molecule test --all
- molecule test -s ${MOLECULE_SCENARIO}
secrets: [ auth_duo_host, auth_duo_ikey, auth_duo_skey ]
when:
event: