Skip to content

feat: add ansible 2.15 and 2.18 to test matrix #356

feat: add ansible 2.15 and 2.18 to test matrix

feat: add ansible 2.15 and 2.18 to test matrix #356

Workflow file for this run

name: Tests
# Controls when the action will run.
'on':
pull_request:
push:
branches:
- master
jobs:
integration:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ansible_version:
- "2.12"
- "2.15"
- "2.18"
python_version:
- "3.9"
- "3.11"
exclude:
- python_version: "3.9"
ansible_version: "2.18"
steps:
- name: Github Checkout 🛎
uses: actions/checkout@v4
- name: Setup Python 3.${{ matrix.python_version }} 🐍
uses: actions/setup-python@v5
with:
python-version: 3.${{ matrix.python_version }}
- name: Install ansible-core 📦
run: pip install ansible-core==${{ matrix.ansible_version }}.*
- name: Run integration tests 🧪
run: |
ansible-playbook -i tests/inventory -v tests/*.yml -e ansible_python_interpreter=$(which python3)