Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Update pre-commit hook pre-commit/pre-commit-hooks to v4.5.0 #13

Update pre-commit hook pre-commit/pre-commit-hooks to v4.5.0

Update pre-commit hook pre-commit/pre-commit-hooks to v4.5.0 #13

Workflow file for this run

name: mirsg.role_name
on:
pull_request:
push:
branches:
- main
jobs:
molecule:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
molecule_scenario:
- centos7
- rocky8
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install test dependencies
run: |
sudo apt-get update && sudo apt-get -y install rsync
python3 -m pip install --upgrade pip
python3 -m pip install ansible ansible-lint molecule molecule-plugins[docker] docker requests==2.29.0
- name: Run role tests
run: >-
molecule --version &&
ansible --version &&
molecule --debug test -s ${{ matrix.molecule_scenario }}