Skip to content

Commit ef67067

Browse files
fix: use mysql service container for nightly tests
1 parent 55d9fa1 commit ef67067

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ jobs:
4242
needs: GENERATE_MATRIX
4343
if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }}
4444
services:
45+
mysql:
46+
image: mysql:8.3
47+
ports:
48+
- 3306:3306
49+
env:
50+
MYSQL_DATABASE: test
51+
MYSQL_ROOT_PASSWORD: root
4552
postgres:
4653
image: postgres
4754
env:
@@ -286,6 +293,13 @@ jobs:
286293
COVERAGE_DEBUG_NTS:
287294
if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
288295
services:
296+
mysql:
297+
image: mysql:8.3
298+
ports:
299+
- 3306:3306
300+
env:
301+
MYSQL_DATABASE: test
302+
MYSQL_ROOT_PASSWORD: root
289303
postgres:
290304
image: postgres
291305
env:
@@ -501,6 +515,13 @@ jobs:
501515
needs: GENERATE_MATRIX
502516
if: ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }}
503517
services:
518+
mysql:
519+
image: mysql:8.3
520+
ports:
521+
- 3306:3306
522+
env:
523+
MYSQL_DATABASE: test
524+
MYSQL_ROOT_PASSWORD: root
504525
postgres:
505526
image: postgres
506527
env:

0 commit comments

Comments
 (0)