CI: add PR change detection (#473) (#477)

(cherry picked from commit eade7ec1f0)

Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
This commit is contained in:
patchback[bot] 2022-12-09 16:37:56 +01:00 committed by GitHub
parent 878dc5794a
commit 43e688a37a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,6 @@ jobs:
strategy: strategy:
matrix: matrix:
ansible: ansible:
- stable-2.11
- stable-2.12 - stable-2.12
- stable-2.13 - stable-2.13
- stable-2.14 - stable-2.14
@ -36,6 +35,7 @@ jobs:
with: with:
ansible-core-version: ${{ matrix.ansible }} ansible-core-version: ${{ matrix.ansible }}
testing-type: sanity testing-type: sanity
pull-request-change-detection: true
integration: integration:
name: "Integration (Python: ${{ matrix.python }}, Ansible: ${{ matrix.ansible }}, MySQL: ${{ matrix.db_engine_version }}, Connector: ${{ matrix.connector }})" name: "Integration (Python: ${{ matrix.python }}, Ansible: ${{ matrix.ansible }}, MySQL: ${{ matrix.db_engine_version }}, Connector: ${{ matrix.connector }})"
@ -47,7 +47,6 @@ jobs:
- mysql_5.7.31 - mysql_5.7.31
- mysql_8.0.22 - mysql_8.0.22
ansible: ansible:
- stable-2.11
- stable-2.12 - stable-2.12
- stable-2.13 - stable-2.13
- stable-2.14 - stable-2.14
@ -71,16 +70,12 @@ jobs:
ansible: stable-2.14 ansible: stable-2.14
- python: 3.6 - python: 3.6
ansible: devel ansible: devel
- python: 3.8
ansible: stable-2.11
- python: 3.8 - python: 3.8
ansible: stable-2.13 ansible: stable-2.13
- python: 3.8 - python: 3.8
ansible: stable-2.14 ansible: stable-2.14
- python: 3.8 - python: 3.8
ansible: devel ansible: devel
- python: 3.9
ansible: stable-2.11
- python: 3.9 - python: 3.9
ansible: stable-2.12 ansible: stable-2.12
steps: steps:
@ -109,6 +104,7 @@ jobs:
sed -i 's/^python_packages:.*/python_packages: [${{ matrix.connector }}]/' ${{ env.connector_version_file }} sed -i 's/^python_packages:.*/python_packages: [${{ matrix.connector }}]/' ${{ env.connector_version_file }}
target-python-version: ${{ matrix.python }} target-python-version: ${{ matrix.python }}
testing-type: integration testing-type: integration
pull-request-change-detection: true
units: units:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
@ -119,7 +115,6 @@ jobs:
fail-fast: true fail-fast: true
matrix: matrix:
ansible: ansible:
- stable-2.11
- stable-2.12 - stable-2.12
- stable-2.13 - stable-2.13
- stable-2.14 - stable-2.14
@ -134,8 +129,6 @@ jobs:
ansible: stable-2.14 ansible: stable-2.14
- python: 3.8 - python: 3.8
ansible: devel ansible: devel
- python: 3.9
ansible: stable-2.11
- python: 3.9 - python: 3.9
ansible: stable-2.12 ansible: stable-2.12
@ -148,3 +141,4 @@ jobs:
ansible-core-version: ${{ matrix.ansible }} ansible-core-version: ${{ matrix.ansible }}
target-python-version: ${{ matrix.python }} target-python-version: ${{ matrix.python }}
testing-type: units testing-type: units
pull-request-change-detection: true