Skip to content

Updates and fixes

Updates and fixes #6

Workflow file for this run

name: CI
on:
push:
pull_request:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-and-molecule:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install \
"ansible-core>=2.15,<2.18" \
"molecule>=6,<7" \
"molecule-plugins[docker]" \
"ansible-lint" \
"yamllint"
- name: Install Ansible collections
run: ansible-galaxy collection install -r requirements.yml
- name: Lint YAML
run: yamllint .
- name: Lint Ansible
run: ansible-lint .
- name: Ensure ip6tables filter module available
run: sudo modprobe ip6table_filter || true
- name: Molecule test
run: molecule test