Skip to content

Commit 0d72cee

Browse files
committed
chore: add newest database versions to test matrix
1 parent 52cba37 commit 0d72cee

File tree

3 files changed

+33
-6
lines changed

3 files changed

+33
-6
lines changed

.github/workflows/tests-maria.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
services:
2323
database:
2424
image: mariadb:${{ inputs.version }}
25-
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
25+
options: --health-cmd="healthcheck.sh --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
2626
env:
2727
MYSQL_ALLOW_EMPTY_PASSWORD: yes
2828
ports:

.github/workflows/tests-mysql.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ jobs:
2121

2222
services:
2323
database:
24-
image: mysql:${{ inputs.version }}
24+
image: container-registry.oracle.com/mysql/community-server:${{ inputs.version }}
2525
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
2626
env:
27-
MYSQL_ALLOW_EMPTY_PASSWORD: yes
2827
MYSQL_DATABASE: testing
28+
MYSQL_USER: testing
29+
MYSQL_PASSWORD: testing
2930
ports:
3031
- 3306:3306
3132

@@ -58,4 +59,5 @@ jobs:
5859
env:
5960
DB_CONNECTION: mysql
6061
DB_DATABASE: testing
61-
DB_USERNAME: root
62+
DB_USERNAME: testing
63+
DB_PASSWORD: testing

.github/workflows/tests.yml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,37 @@ jobs:
4343
uses: ./.github/workflows/tests-maria.yml
4444
with:
4545
version: "10.10"
46+
maria11_0:
47+
name: MariaDB 11.0
48+
uses: ./.github/workflows/tests-maria.yml
49+
with:
50+
version: "11.0"
51+
maria11_1:
52+
name: MariaDB 11.1
53+
uses: ./.github/workflows/tests-maria.yml
54+
with:
55+
version: "11.1"
56+
maria11_2:
57+
name: MariaDB 11.2
58+
uses: ./.github/workflows/tests-maria.yml
59+
with:
60+
version: "11.2"
4661

4762
mysql5_7:
4863
name: MySQL 5.7
4964
uses: ./.github/workflows/tests-mysql.yml
5065
with:
51-
version: 5.7
66+
version: "5.7"
5267
mysql8_0:
5368
name: MySQL 8.0
5469
uses: ./.github/workflows/tests-mysql.yml
5570
with:
56-
version: 8.0
71+
version: "8.0"
72+
mysql8_1:
73+
name: MySQL 8.1
74+
uses: ./.github/workflows/tests-mysql.yml
75+
with:
76+
version: "8.1"
5777

5878
pgsql10:
5979
name: PostgreSQL 10
@@ -85,6 +105,11 @@ jobs:
85105
uses: ./.github/workflows/tests-pgsql.yml
86106
with:
87107
version: 15
108+
pgsql16:
109+
name: PostgreSQL 16
110+
uses: ./.github/workflows/tests-pgsql.yml
111+
with:
112+
version: 16
88113

89114
sqlite:
90115
name: SQLite

0 commit comments

Comments
 (0)