Skip to content

Alpine build improvements (#4) #56

Alpine build improvements (#4)

Alpine build improvements (#4) #56

Workflow file for this run

---
name: CI
on: # yamllint disable-line rule:truthy
push:
branches:
- master
pull_request:
workflow_dispatch:
defaults:
run:
working-directory: "treykee.unifi_network_application"
jobs:
test:
name: Molecule test
runs-on: ubuntu-20.04
strategy:
fail-fast: ${{ !contains(github.event_name, 'pull_request') }}
matrix:
platforms:
- rhel8
- alpine3
- debian12
- ubuntu22
steps:
- name: Check out codebase.
uses: actions/checkout@v3
with:
path: "treykee.unifi_network_application"
- name: Set up Python 3.
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install test Python dependencies.
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r venv/requirements.txt
- name: Run Molecule tests.
run: molecule test -s pipeline
env:
PY_COLORS: "1"
ANSIBLE_FORCE_COLOR: "1"
MOLECULE_PLATFORM_NAME: ${{ matrix.platforms }}