Skip to content

Make sure to copy config file for CI. #70

Make sure to copy config file for CI.

Make sure to copy config file for CI. #70

Workflow file for this run

---
name: CI
'on':
pull_request:
push:
branches:
- master
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
- name: Set up Python 3.
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install test dependencies.
run: pip3 install yamllint
- name: Lint all the YAMLs.
run: yamllint .
benchmark:
name: Benchmark
runs-on: ubuntu-latest
container:
image: geerlingguy/docker-ubuntu2204-ansible:latest
env:
ANSIBLE_FORCE_COLOR: "true"
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
- name: Set up files for the test.
run: |
cp example.hosts.ini hosts.ini
cp example.config.yml config.yml
- name: Check the syntax of the HPL benchmark playbook.
run: ansible-playbook main.yml --syntax-check
- name: Run the playbook but not the HPL benchmark.
run: ansible-playbook main.yml --tags "setup"