Files
ansible-role-auth-duo/.woodpecker/test.yml
Aaron Guise fd107beac1
Some checks failed
ci/woodpecker/cron/cron Pipeline was successful
ci/woodpecker/manual/lint Pipeline was successful
ci/woodpecker/manual/test Pipeline failed
[SKIP CI] Don't clone on cron triggers
2023-10-13 12:06:24 +13:00

34 lines
714 B
YAML

matrix:
include:
- MOLECULE_DISTRO: centos7
- MOLECULE_DISTRO: almalinux8
clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
submodule_update_remote: true
when:
event: [ push, manual ]
steps:
test:
name: Test on ${MOLECULE_DISTRO}
image: guisea/ansible-molecule
pull: true
environment:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- molecule test --scenario-name ${MOLECULE_SCENARIO:-default}
secrets: [ auth_duo_host, auth_duo_ikey, auth_duo_skey, auth_duo_mirror_url ]
when:
event:
- push
- manual
depends_on:
- lint