33 lines
642 B
YAML
33 lines
642 B
YAML
|
---
|
||
|
name: Molecule
|
||
|
|
||
|
'on':
|
||
|
pull_request:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
fail-fast: false
|
||
|
matrix:
|
||
|
scenario:
|
||
|
- debian12_master_slave
|
||
|
- debian12_upstream
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v4
|
||
|
with:
|
||
|
path: "${{ github.repository }}"
|
||
|
|
||
|
- name: Molecule
|
||
|
uses: gofrolist/molecule-action@v2
|
||
|
with:
|
||
|
molecule_options: --base-config molecule/_shared/base.yml
|
||
|
molecule_args: --scenario-name ${{ matrix.scenario }}
|
||
|
env:
|
||
|
ANSIBLE_FORCE_COLOR: '1'
|