Add matrix for python and ansible-core versions for sanity tests

This commit is contained in:
Laurent Indermuehle 2022-08-03 13:52:09 +02:00
commit 3d73ee03f6
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -29,6 +29,18 @@ jobs:
- stable-2.12
- stable-2.13
- devel
python:
- 3.8
- 3.9
exclude:
- python: 3.9
ansible: stable-2.11
- python: 3.9
ansible: stable-2.12
- python: 3.8
ansible: stable-2.13
- python: 3.8
ansible: devel
steps:
- name: Check out code
@ -39,7 +51,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: ${{ matrix.python }}
- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check