This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
Use new composite action (fixes bug) (#18) #77
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, pull_request] | |
jobs: | |
molecule: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
image: | |
- centos:7 | |
- rockylinux:8 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && sudo apt-get -y install rsync | |
python3 -m pip install --upgrade pip | |
python3 -m pip install -r .github/workflows/requirements.txt | |
- name: Test with molecule | |
run: | | |
molecule test | |
env: | |
PY_COLORS: "1" | |
ANSIBLE_FORCE_COLOR: "1" | |
MOLECULE_DOCKER_IMAGE: ${{ matrix.image }} |