Skip to content

Merge pull request #953 from dacook/ca_prod2-fixes #451

Merge pull request #953 from dacook/ca_prod2-fixes

Merge pull request #953 from dacook/ca_prod2-fixes #451

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
pull_request:
jobs:
#ansible-lint:
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-python@v4
# with:
# python-version: '3.10.15'
# - name: Set up Ansible
# run: |
# pip install -r requirements.txt
# bin/setup
# - name: Ansible Lint
# run: ansible-lint playbooks/*.yml --exclude community
playbook-tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10.15'
- name: Set up Ansible
run: |
pip install -r requirements.txt
bin/setup
- name: Cache Ruby binary compiling
id: cache-ruby
uses: actions/cache@v3
with:
path: ~/.rbenv
key: ${{ runner.os }}-ruby-${{ github.sha }}
restore-keys: |
${{ runner.os }}-ruby-
${{ runner.os }}-
- name: Uninstall conflicting packages
run: sudo apt remove nginx libgd3
- name: Test Playbooks
run: ansible-playbook tests/suite.yml --limit test --connection local