-
-
Notifications
You must be signed in to change notification settings - Fork 433
78 lines (71 loc) · 1.88 KB
/
molecule.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
name: Molecule
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config:
- distro: debian12
tag: latest
namespace: geerlingguy
- distro: debian11
tag: latest
namespace: geerlingguy
- distro: ubuntu2204
tag: latest
namespace: geerlingguy
- distro: ubuntu2004
tag: latest
namespace: geerlingguy
- distro: rockylinux8
tag: latest
namespace: geerlingguy
- distro: rockylinux9
tag: latest
namespace: geerlingguy
- distro: almalinux8
tag: latest
namespace: glillico
- distro: almalinux9
tag: latest
namespace: glillico
- distro: oraclelinux8
tag: latest
namespace: glillico
- distro: oraclelinux9
tag: latest
namespace: glillico
- distro: centosstream9
tag: latest
namespace: glillico
- distro: centosstream8
tag: latest
namespace: glillico
steps:
- name: Set TERM environment variable
run: echo "TERM=xterm" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: make bootstrap-dev
- name: Run Molecule tests
run: make molecule-test
env:
PY_COLORS: "1"
ANSIBLE_FORCE_COLOR: "1"
IMAGE_DISTRO: ${{ matrix.config.distro }}
IMAGE_TAG: ${{ matrix.config.tag }}
IMAGE_NAMESPACE: ${{ matrix.config.namespace }}