-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (37 loc) · 1.06 KB
/
molecule-postgresql.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 PostgreSQL
on:
pull_request:
paths:
- molecule_configs/*
- playbooks/**
- roles/**
- .github/workflows/molecule-postgresql.yml
- "!**/README.md"
concurrency:
cancel-in-progress: true
group: >-
${{ github.workflow }}-${{ github.event.pull_request.number }}
jobs:
molecule-postgresql:
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@84b2c6715e331fe405f45faff062a6ce93f2a346 # v0.119.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/postgresql