Skip to content

Merge pull request #36 from mila-iqia/feat/bookworm #89

Merge pull request #36 from mila-iqia/feat/bookworm

Merge pull request #36 from mila-iqia/feat/bookworm #89

Workflow file for this run

---
name: Molecule unit testing
on:
push:
branches:
- main
paths-ignore:
- '**.md'
- '**.rst'
pull_request:
paths-ignore:
- '**.md'
- '**.rst'
jobs:
molecule_test:
name: ${{ matrix.distro }} - molecule test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro:
- debian-systemd:bullseye
- debian-systemd:bookworm
env:
MOLECULE_DISTRO: ${{ matrix.distro }}
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: mila.cobbler
- name: Setup python environment
uses: actions/setup-python@v3
- name: Install packages
run: pip install tox
- name: Run molecule test
run: |
cd mila.cobbler && tox