Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
inoas committed Jun 28, 2024
1 parent f28ab2a commit 0b365fa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/abstract_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ jobs:
MARIADB_DATABASE: gleam_cake_test
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: true
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
mariadb:
image: mysql:latest
ports:
- 3307:3306
env:
MARIADB_DATABASE: gleam_cake_test
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: true
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
needs: deps
strategy:
fail-fast: true
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ services:
environment:
MARIADB_DATABASE: "gleam_cake_test"
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: true
# MYSQL_DATABASE: "gleam_cake_test"
# MYSQL_ALLOW_EMPTY_PASSWORD: true
mysql:
container_name: gleam-cake-test-mysql
dns:
Expand Down
2 changes: 1 addition & 1 deletion test/test_support/adapter/mysql.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub fn with_connection(f: fn(Connection) -> a) -> a {
user: Some("root"),
password: None,
database: "gleam_cake_test",
port: 3306,
port: 3307,
connection_mode: gmysql.Synchronous,
connection_timeout: gmysql.Infinity,
keep_alive: 999_999_999,
Expand Down

0 comments on commit 0b365fa

Please sign in to comment.