Skip to content

Add updated README and python 3.12 to GitHub Actions #150

Add updated README and python 3.12 to GitHub Actions

Add updated README and python 3.12 to GitHub Actions #150

Workflow file for this run

---
name: Molecule Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pwd
python3 -m pip install --upgrade pip setuptools wheel
python3 -m pip install -r requirements.txt
- name: Details about molecule
run: |
echo ""
echo "Molecule version"
molecule --version
echo ""
echo "Molecule drivers"
molecule drivers
echo ""
echo "Molecule list"
molecule list
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
- name: Test with molecule
run: molecule test -- -v
env:
ANSIBLE_FORCE_COLOR: '1'
ANSIBLE_STDOUT_CALLBACK: yaml
PY_COLORS: '1'