Skip to content

Adds CR staging information #4

Adds CR staging information

Adds CR staging information #4

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.8.2'
- 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.8.2'
- 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