generated from trfore/ansible-role
-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (32 loc) · 938 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: CI
on:
workflow_dispatch:
pull_request:
branches: ["*"]
paths-ignore:
- "LICENSE"
- "README.md"
jobs:
lint_ansible:
uses: trfore/ansible-role/.github/workflows/lint_ansible.yml@main # remote repo
molecule_test:
needs:
- lint_ansible
strategy:
fail-fast: false
matrix:
distro: [debian10, ubuntu2004] # limited to MongoDB 4 matrix
experimental: [false]
molecule_scenario: ["-s default"]
include:
- distro: ubuntu2004
experimental: true
molecule_scenario: "-s ubuntu-jre8"
- distro: centos8
experimental: true
molecule_scenario: "-s default"
uses: trfore/ansible-role/.github/workflows/test_ansible.yml@main # remote repo
with:
distro: ${{ matrix.distro }}
experimental: ${{ matrix.experimental }}
molecule_scenario: ${{ matrix.molecule_scenario }}