Skip to content

build: add integration testing for main roles #9

build: add integration testing for main roles

build: add integration testing for main roles #9

name: Integration Test
on:
pull_request:
push:
branches:
- main
jobs:
molecule:
strategy:
matrix:
environment:
- clickhouse
- mysql_8_4
- mysql_8_0
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v3
with:
python-version: '3.8'
- name: Install test dependencies
run: pip3 install molecule[docker] yamllint ansible-lint
- name: Run molecule tests
run: molecule test -s ${{ matrix.environment }}
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLORS: '1'