Skip to content

.github/workflows/main.yml #344

.github/workflows/main.yml

.github/workflows/main.yml #344

Workflow file for this run

---
on:
push:
pull_request:
schedule:
- cron: '33 5 * * 0'
jobs:
Tests:
name: Test role on different ansible versions
runs-on: ubuntu-20.04
strategy:
matrix:
ansible:
- "2.12"
- "2.13"
- "2.14"
scenario:
- pdns-47
- pdns-48
- pdns-49
- pdns-master
- pdns-os-repos
- systemd-no-overrides
fail-fast: false
steps:
- name: checkout
uses: actions/checkout@v4
- name: Install python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Run the tests
run: tox -- molecule test -s ${{ matrix.scenario }}
env:
ANSIBLE: ${{ matrix.ansible }}