-
-
Notifications
You must be signed in to change notification settings - Fork 4
34 lines (32 loc) · 814 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Molecule
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
# monthly on 30th, 03:15
- cron: "15 3 30 * *"
jobs:
molecule:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: "${{ github.repository }}"
- name: Check docker config
run: cat /etc/docker/daemon.json || echo; docker system info; docker version
- name: Check ansible
run: ansible --version
- name: Test
uses: gofrolist/molecule-action@v2
with:
# molecule_options: --debug -v
molecule_working_dir: "${{ github.repository }}"
molecule_command: test
env:
ANSIBLE_FORCE_COLOR: "1"
ANSIBLE_STDOUT_CALLBACK: "debug"