Skip to content

AMW-103 Devfile for Ansible Middleware #20

AMW-103 Devfile for Ansible Middleware

AMW-103 Devfile for Ansible Middleware #20

Workflow file for this run

---
name: CI
on:
pull_request:
push:
branches:
- main
jobs:
test:
name: molecule
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']
steps:
- name: Checkout the codebase.
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
- name: Install testing dependencies.
run: |
python -m pip install --upgrade pip
pip install yamllint 'molecule>=6.0.3' 'molecule-plugins[podman]>=23.0.0' 'ansible-core<2.16' flake8 ansible-lint voluptuous
ansible-galaxy collection install -r requirements.yml
- name: "Run molecule tests"
run: molecule test --all
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DISTRO: rhel-9
working-directory: '.'