-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (37 loc) · 1.05 KB
/
molecule-tomcat.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
---
name: Test tomcat
on:
pull_request:
paths:
- molecule_configs/*
- playbooks/**
- roles/**
- .github/workflows/molecule-tomcat.yml
- "!**/README.md"
concurrency:
cancel-in-progress: true
group: >-
${{ github.workflow }}-${{ github.event.pull_request.number }}
jobs:
molecule-tomcat:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
scenario:
- centos7
- rocky9
env:
MOLECULE_RUN_TAGS: all
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
steps:
- uses: UCL-MIRSG/.github/actions/molecule-test@b863c874470757db8548388ab0135d573d70b48f # v0.127.0
with:
ansible_major_version: ${{ vars.ANSIBLE_MAJOR_VERSION }}
scenario: ${{ matrix.scenario }}
base_config:
${{ format('{0}{1}_base_config.yml', '../../molecule_configs/',
matrix.scenario ) }}
checkout_path: ansible_collections/mirsg/infrastructure
tests_path: ansible_collections/mirsg/infrastructure/roles/tomcat