Skip to content

Merge pull request #69 from NETWAYS/dependabot/github_actions/actions… #186

Merge pull request #69 from NETWAYS/dependabot/github_actions/actions…

Merge pull request #69 from NETWAYS/dependabot/github_actions/actions… #186

Workflow file for this run

---
name: Molecule Test
on:
push:
tags:
- v*
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
distro: [rockylinux8, rockylinux9, ubuntu2204]
scenario: [default, renew, ca-renew]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements-test.txt
- name: ${{ matrix.scenario }} molecule test
run: |
molecule test -s ${{ matrix.scenario }}
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DISTRO: ${{ matrix.distro }}