You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
561 B
YAML
27 lines
561 B
YAML
---
|
|
name: Test Playbook
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
|
|
jobs:
|
|
homelab-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python 3.8.9
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.8.9
|
|
- name: Install dependencies
|
|
run: pip install -r requirements.txt
|
|
|
|
- name: Test with molecule
|
|
run: |
|
|
cd ansible/roles/setup_docker
|
|
molecule test
|
|
env:
|
|
PY_COLORS: "1"
|
|
ANSIBLE_FORCE_COLOR: "1" |