-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (38 loc) · 919 Bytes
/
molecule.yaml
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
35
36
37
38
39
40
name: molecule
on:
pull_request:
paths:
- .github/molecule.yaml
- "!.github/**"
- "**"
push:
branches:
- master
jobs:
test:
name: molecule test on ${{ matrix.image }} ${{ matrix.version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- image: ubuntu
version: "20.04"
- image: ubuntu
version: "22.04"
- image: debian
version: "10"
- image: debian
version: "11"
steps:
- uses: actions/checkout@v2
- name: Setup Environment
run: |
python3 -m pip install --upgrade pip
python3 -m pip install molecule molecule-docker ansible-lint yamllint
- name: molecule test
env:
image: ${{ matrix.image }}
version: ${{ matrix.version }}
run: |
molecule test