This repo contains the Terraform, Ansible, and Capistrano configurations to deploy a static Jekyll site to multiple instances behind a LoadBalancer.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

49 lines
1012 B

---
name: CI
'on':
pull_request:
push:
branches:
- master
schedule:
- cron: "30 7 * * 3"
defaults:
run:
working-directory: 'caddy_ansible.caddy_ansible'
jobs:
molecule:
name: Molecule
runs-on: ubuntu-latest
strategy:
matrix:
distro:
- centos8
- centos7
- fedora29
- ubuntu2004
- ubuntu1804
- debian10
- debian9
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
with:
path: 'caddy_ansible.caddy_ansible'
- name: Set up Python 3.
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install test dependencies.
run: pip3 install ansible ansible-lint yamllint molecule[docker] pytest testinfra
- name: Run Molecule tests.
run: molecule test
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DISTRO: ${{ matrix.distro }}