Clean up molecule test config #68
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |