Skip to content

Commit baa0a23

Browse files
author
Michael Vasseur
committed
Bring back testing with MySQL
The original reason was after the `rank` becoming a protected keyword. As we depend on doctrine as abrstraction a lot it is good to verify that the translation is reasonable on backend SQL servers of whatever dialect.
1 parent 58959e1 commit baa0a23

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/integration.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,24 @@ jobs:
1414
strategy:
1515
matrix:
1616
SQL_ISOLATION: ['REPEATABLE-READ', 'SERIALIZABLE']
17+
include:
18+
- sql: mariadb
19+
sql_options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
20+
- sql: mysql
21+
sql_options: ''
1722
container:
1823
image: domjudge/gitlabci:24.04
1924
options: --privileged --cgroupns=host --init
2025
services:
2126
sqlserver:
22-
image: mariadb
27+
image: ${{ matrix.sql }}
2328
ports:
2429
- 3306:3306
2530
env:
2631
MYSQL_ROOT_PASSWORD: root
2732
MYSQL_USER: domjudge
2833
MYSQL_PASSWORD: domjudge
29-
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
34+
options: ${{ matrix.sql_options }}
3035
steps:
3136
- uses: actions/checkout@v4
3237
- name: info

0 commit comments

Comments
 (0)