Update stuff #14
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: Molecule Test | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- ".gitignore" | |
- "**.md" | |
- "meta/main.yml" | |
pull_request: | |
paths-ignore: | |
- ".gitignore" | |
- "**.md" | |
- "meta/main.yml" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
max-parallel: 4 | |
matrix: | |
scenario: | |
- debian-10 | |
- debian-11 | |
- ubuntu-18.04 | |
- ubuntu-20.04 | |
- ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip pip-tools | |
pip-sync requirements.txt | |
ansible --version | |
molecule --version | |
- name: Lint | |
run: | | |
set -e | |
yamllint . | |
ansible-lint | |
flake8 | |
- name: Molecule | |
run: | | |
molecule --base-config molecule/_shared/base.yml test --scenario-name ${{ matrix.scenario }} |