From 02dbc320c6efc5323c9082f1d36dd674836bdd14 Mon Sep 17 00:00:00 2001 From: yedf2 <120050102@qq.com> Date: Fri, 10 Jun 2022 17:10:31 +0800 Subject: [PATCH] update tests.yml --- .github/workflows/tests.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e71699d..3abf81d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,6 +28,17 @@ jobs: - /etc/timezone:/etc/timezone:ro ports: - 6379:6379 + postgres: + image: 'postgres:13' + command: postgres --max_prepared_transactions=1000 + volumes: + - /etc/localtime:/etc/localtime:ro + - /etc/timezone:/etc/timezone:ro + environment: + POSTGRES_PASSWORD: mysecretpassword + POSTGRES_DB: dtm + ports: + - '5432:5432' mongo: image: 'yedf/mongo-rs' volumes: