mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-06 10:40:36 -07:00
Add matrix branches to run integration tests on MariaDB
This commit is contained in:
parent
158471e7ee
commit
9beb72b6df
1 changed files with 21 additions and 0 deletions
21
.github/workflows/ansible-test-plugins.yml
vendored
21
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -57,6 +57,12 @@ jobs:
|
|||
mysql:
|
||||
- 5.7.31
|
||||
- 8.0.22
|
||||
mariadb:
|
||||
- 10.2.37
|
||||
- 10.5.9
|
||||
test_mariadb:
|
||||
- True
|
||||
- False
|
||||
ansible:
|
||||
- stable-2.9
|
||||
- stable-2.10
|
||||
|
@ -68,9 +74,18 @@ jobs:
|
|||
- pymysql==0.7.10
|
||||
- pymysql==0.9.3
|
||||
- mysqlclient==2.0.1
|
||||
- mysqlclient==1.2.5
|
||||
exclude:
|
||||
- mysql: 8.0.22
|
||||
connector: pymysql==0.7.10
|
||||
- mysql: 5.7.31
|
||||
test_mariadb: True
|
||||
- mysql: 8.0.22
|
||||
test_mariadb: True
|
||||
- mariadb: 10.2.37
|
||||
test_mariadb: False
|
||||
- mariadb: 10.5.9
|
||||
test_mariadb: False
|
||||
steps:
|
||||
|
||||
- name: Check out code
|
||||
|
@ -89,6 +104,12 @@ jobs:
|
|||
- name: Set MySQL version (${{ matrix.mysql }})
|
||||
run: "sed -i 's/^mysql_version:.*/mysql_version: \"${{ matrix.mysql }}\"/g' ${{ env.mysql_version_file }}"
|
||||
|
||||
- name: Set MariaDB version (${{ matrix.mariadb }})
|
||||
run: "sed -i 's/^mariadb_version:.*/mariadb_version: \"${{ matrix.mariadb }}\"/g' ${{ env.mysql_version_file }}"
|
||||
|
||||
- name: Set MariaDB install flag (${{ matrix.test_mariadb }})
|
||||
run: "sed -i 's/^mariadb_install:.*/mariadb_install: \"${{ matrix.test_mariadb }}\"/g' ${{ env.mysql_version_file }}"
|
||||
|
||||
- name: Set Connector version (${{ matrix.connector }})
|
||||
run: "sed -i 's/^python_packages:.*/python_packages: [${{ matrix.connector }}]/' ${{ env.connector_version_file }}"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue