-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (35 loc) · 922 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
41
42
43
---
name: molecule
on:
pull_request:
branches: [ "master" ]
push:
branches: [ "master" ]
jobs:
molecule:
name: molecule
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
distro:
- ubuntu2204
- ubuntu2004
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@59bcdbae779c639f869cc8e3b223f36692af05c2
with:
micromamba-version: '2.0.5-0'
environment-file: conda.dev.yml
init-shell: bash
post-cleanup: 'all'
- name: "Install role dependencies"
run: ansible-galaxy install -r requirements.yml
shell: micromamba-shell {0}
- name: "Run Molecule tests"
run: molecule test
shell: micromamba-shell {0}
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DISTRO: ${{ matrix.distro }}