From b99cbfb4a82a8b304b182f6c611ea0ec57793181 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Wed, 9 Aug 2023 12:26:25 -0500 Subject: [PATCH] Use latest PG for sequel tests This also aligns DB config with sequel's CI. --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbfb48e2d97..ad420bc4efe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -464,15 +464,17 @@ jobs: services: postgres: - image: postgres:11.5 - ports: ["5432:5432"] + image: postgres:latest + ports: [ "5432:5432" ] options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + env: + POSTGRES_PASSWORD: postgres mysql: image: mysql:latest env: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: sequel_test - ports: ["3306:3306"] + ports: [ "3306:3306" ] options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 steps: