Skip to content

Clean up molecule test config #68

Clean up molecule test config

Clean up molecule test config #68

Workflow file for this run

---
name: Lint
on:
pull_request:
branches:
- master
defaults:
run:
working-directory: 'nephelaiio.ubuntu_installer'
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v3
with:
path: 'nephelaiio.ubuntu_installer'
- name: Set up Python 3.
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Update ubuntu repositories
run: sudo apt-get update
- name: Install libvirt libraries
run: sudo apt-get install -y libvirt-dev
- name: Install poetry
run: pip install poetry
- name: Install test dependencies.
run: poetry install
- name: Lint code with ansible-lint
run: poetry run ansible-lint .
- name: Lint code with yamllint
run: poetry run yamllint .
- name: Lint code with molecule
run: poetry run molecule syntax