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

Commit

Permalink
GHA: update matrix (#43)
Browse files Browse the repository at this point in the history
* GHA: update matrix

* Fix

* Fix

* Fix

* Remove extra file

* Fix undocumented parameter

* Fix the module

* Update matrix
  • Loading branch information
Andersson007 authored Feb 17, 2024
1 parent 39342e0 commit 7f7e7d1
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 424 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/ansible-test-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
strategy:
matrix:
ansible:
- stable-2.11
- stable-2.12
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
steps:

Expand All @@ -34,7 +34,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand All @@ -52,9 +52,9 @@ jobs:
fail-fast: true
matrix:
ansible:
- stable-2.11
- stable-2.12
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel

steps:
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand All @@ -93,10 +93,12 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.13
#- devel # We need Python 3.9 but ubuntu 2004 doesn't have it. Anyway to test against devel is not a requirement
- stable-2.14
- stable-2.15
- stable-2.16
- devel
python:
- 3.8
- "3.10"
steps:

- name: Check out code
Expand All @@ -107,13 +109,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.10"

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check

- name: Run integration tests
run: ansible-test integration --docker ubuntu2004 -v --color --retry-on-error --continue-on-error --python ${{ matrix.python }} --diff --coverage
run: ansible-test integration --docker ubuntu2204 -v --color --retry-on-error --continue-on-error --python ${{ matrix.python }} --diff --coverage
working-directory: ./ansible_collections/community/cockroachdb

- name: Generate coverage report.
Expand Down
Loading

0 comments on commit 7f7e7d1

Please sign in to comment.