mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed MySQL port mapping in CI
no issue - turns out the exposed port is randomly assigned, but this worked for us so far - this commit enforces the use of 3306 for the MySQL port
This commit is contained in:
parent
784ae3ddf1
commit
204efe0158
1 changed files with 1 additions and 1 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
||||||
MYSQL_ROOT_PASSWORD: root
|
MYSQL_ROOT_PASSWORD: root
|
||||||
MYSQL_DATABASE: ghost_testing
|
MYSQL_DATABASE: ghost_testing
|
||||||
ports:
|
ports:
|
||||||
- 3306
|
- 3306:3306
|
||||||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
||||||
name: Node ${{ matrix.node }} - ${{ matrix.env.DB }}
|
name: Node ${{ matrix.node }} - ${{ matrix.env.DB }}
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Add table
Reference in a new issue