Skip to content

dhcpd with config

dhcpd with config #72

Workflow file for this run

---
name: dhcpd with config
on:
workflow_run:
workflows:
- "CI"
types:
- completed
defaults:
run:
working-directory: 'ansible-dhcpd'
jobs:
deb:
name: "${{ matrix.image }} / ansible ${{ matrix.ansible-version }} / python ${{ matrix.python }}"
runs-on: ubuntu-22.04
if: ${{ github.event_name == 'schedule' || github.event.workflow_run.conclusion == 'success' }}
strategy:
fail-fast: false
matrix:
image:
- debian:12
python_version:
- "3.11"
ansible-version:
- '8.5'
scenario:
- configured
steps:
- name: check out the codebase.
uses: actions/checkout@v4
with:
path: 'ansible-dhcpd'
ref: ${{ github.event.workflow_run.head_branch }}
- name: 🐍 set up python
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python_version }}"
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install -r test-requirements.txt
- name: force reinstall of community.docker
run: |
mkdir -p /home/runner/.ansible/collections
ansible-galaxy collection install community.docker --force
- name: test with tox
run: |
make \
test \
-e TOX_SCENARIO="${{ matrix.scenario }}" \
-e TOX_ANSIBLE="ansible_${{ matrix.ansible-version }}" \
-e DISTRIBUTION="${{ matrix.image }}"
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
DISTRIBUTION: ${{ matrix.image }}