-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (48 loc) · 1.09 KB
/
molecule-ssh.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
---
name: molecule-ssh
on:
pull_request:
paths:
- .config/molecule
- .github/workflows/molecule-ssh.yml
- roles/ssh_base
- roles/ssh
push:
branches:
- main
- wip/next
paths:
- .config/molecule
- .github/workflows/molecule-ssh.yml
- roles/ssh_base
- roles/ssh
jobs:
molecule:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro:
- archlinux
- rocky-8
- rocky-9
- ubuntu-focal
- ubuntu-jammy
scenario:
- default
- alternative
- nosubsystems
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: pip3 install ansible molecule molecule-plugins[docker] docker
- run: ansible --version
- run: molecule --version
- run: molecule test -p ${{ matrix.distro }} -s ${{ matrix.scenario }}
working-directory: ./roles/ssh
env:
ANSIBLE_DIFF_ALWAYS: 'True'
PY_COLORS: '1'
...