From cec532acb15b5895e5cf93fee19e61b9fdfc19cc Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Fri, 3 Jan 2020 17:59:23 -0800 Subject: [PATCH] Fix port reference for MariaDB --- .github/workflows/mariadb.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mariadb.yml b/.github/workflows/mariadb.yml index 6369f836..bd208d8c 100644 --- a/.github/workflows/mariadb.yml +++ b/.github/workflows/mariadb.yml @@ -19,7 +19,7 @@ jobs: MYSQL_DATABASE: sqlx ports: # will assign a random free host port - - 3309/tcp + - 3306/tcp # needed because the container does not provide a healthcheck options: --health-cmd "mysql --user=root --password=$MYSQL_PASSWORD -e 'show databases;'" --health-interval 30s --health-timeout 30s --health-retries 10 @@ -52,4 +52,4 @@ jobs: - run: cargo test -p sqlx --no-default-features --features 'mysql macros chrono' env: - DATABASE_URL: mariadb://root:password@localhost:${{ job.services.mariadb.ports[3309] }}/sqlx + DATABASE_URL: mariadb://root:password@localhost:${{ job.services.mariadb.ports[3306] }}/sqlx