CI: add PR change detection (#473)

This commit is contained in:
Andrew Klychkov 2022-12-09 14:50:37 +01:00 committed by GitHub
parent 015f58ea5a
commit eade7ec1f0
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 }})"
@ -51,7 +51,6 @@ jobs:
# also change the "Set MariaDB URL sub dir" task # also change the "Set MariaDB URL sub dir" task
- mariadb_10.8.3 - mariadb_10.8.3
ansible: ansible:
- stable-2.11
- stable-2.12 - stable-2.12
- stable-2.13 - stable-2.13
- stable-2.14 - stable-2.14
@ -77,16 +76,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
@ -116,6 +111,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
@ -126,7 +122,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
@ -141,8 +136,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
@ -155,3 +148,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