Skip to content

Commit

Permalink
chore: add newest database versions to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
tpetry committed Dec 28, 2023
1 parent 52cba37 commit 0d72cee
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests-maria.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
services:
database:
image: mariadb:${{ inputs.version }}
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
options: --health-cmd="healthcheck.sh --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
ports:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/tests-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ jobs:

services:
database:
image: mysql:${{ inputs.version }}
image: container-registry.oracle.com/mysql/community-server:${{ inputs.version }}
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: testing
MYSQL_USER: testing
MYSQL_PASSWORD: testing
ports:
- 3306:3306

Expand Down Expand Up @@ -58,4 +59,5 @@ jobs:
env:
DB_CONNECTION: mysql
DB_DATABASE: testing
DB_USERNAME: root
DB_USERNAME: testing
DB_PASSWORD: testing
29 changes: 27 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,37 @@ jobs:
uses: ./.github/workflows/tests-maria.yml
with:
version: "10.10"
maria11_0:
name: MariaDB 11.0
uses: ./.github/workflows/tests-maria.yml
with:
version: "11.0"
maria11_1:
name: MariaDB 11.1
uses: ./.github/workflows/tests-maria.yml
with:
version: "11.1"
maria11_2:
name: MariaDB 11.2
uses: ./.github/workflows/tests-maria.yml
with:
version: "11.2"

mysql5_7:
name: MySQL 5.7
uses: ./.github/workflows/tests-mysql.yml
with:
version: 5.7
version: "5.7"
mysql8_0:
name: MySQL 8.0
uses: ./.github/workflows/tests-mysql.yml
with:
version: 8.0
version: "8.0"
mysql8_1:
name: MySQL 8.1
uses: ./.github/workflows/tests-mysql.yml
with:
version: "8.1"

pgsql10:
name: PostgreSQL 10
Expand Down Expand Up @@ -85,6 +105,11 @@ jobs:
uses: ./.github/workflows/tests-pgsql.yml
with:
version: 15
pgsql16:
name: PostgreSQL 16
uses: ./.github/workflows/tests-pgsql.yml
with:
version: 16

sqlite:
name: SQLite
Expand Down

0 comments on commit 0d72cee

Please sign in to comment.