Add CI
All checks were successful
ci/woodpecker/manual/lint Pipeline was successful
ci/woodpecker/manual/test Pipeline was successful

This commit is contained in:
2023-10-10 23:25:49 +13:00
parent 27364b18c8
commit 65319a8438
2 changed files with 38 additions and 0 deletions

21
.woodpecker/test.yml Normal file
View File

@@ -0,0 +1,21 @@
matrix:
MOLECULE_DISTRO:
- centos7
- almalinux8
steps:
test:
name: Test on ${MOLECULE_DISTRO}
image: guisea/ansible-molecule
pull: true
environment:
ANSIBLE_CALLBACK_WHITELIST: profile_tasks
EPEL_MIRROR_URL: https://mirrors.guise.net.nz/epel
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- molecule test --all
when:
event: push
depends_on:
- lint