Skip to content

add functionality for pun_pre_hook (#108) #347

add functionality for pun_pre_hook (#108)

add functionality for pun_pre_hook (#108) #347

Workflow file for this run

name: Molecule Tests
on:
push:
branches:
- main
- master
- develop
- release-*
pull_request:
branches:
- main
- master
- develop
- release-*
jobs:
rpm-tests:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
image:
- 'centos:7'
- 'centos:8'
scenario:
- 'default'
- 'templates'
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: install dependencies
run: |
python3 -m pip install -r molecule/requirements.txt
ansible-galaxy collection install community.general
- name: run linter
run: molecule lint
- name: run tests
run: molecule test --scenario-name=${{ matrix.scenario }}
env:
IMAGE: '${{ matrix.image }}'
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
src-tests:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
image:
- 'ubuntu:20.04'
- 'ubuntu:18.04'
- 'debian:10'
scenario:
- 'src-build'
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: install dependencies
run: |
python3 -m pip install -r molecule/requirements.txt
ansible-galaxy collection install community.general
- name: run linter
run: molecule lint
- name: run tests
run: molecule test --scenario-name=${{ matrix.scenario }}
env:
IMAGE: '${{ matrix.image }}'
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'