From 5e415f897f5cbe36118d94a431d13033ffda0a94 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 16 Oct 2024 22:43:38 -0500 Subject: [PATCH] Get rid of Postgres job in CI --- .gitlab-ci.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1eda433f..c9c9588e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,11 +21,15 @@ check: test: stage: test script: - - deno task test --coverage=cov_profile + - sleep 1 && deno task test --coverage=cov_profile - deno coverage cov_profile coverage: /All files[^\|]*\|[^\|]*\s+([\d\.]+)/ + services: + - postgres:16 variables: DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz + TEST_DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres + POSTGRES_HOST_AUTH_METHOD: trust artifacts: when: always paths: @@ -33,12 +37,3 @@ test: reports: junit: deno-test.xml -postgres: - stage: test - script: sleep 1 && deno task test - services: - - postgres:16 - variables: - DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz - TEST_DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres - POSTGRES_HOST_AUTH_METHOD: trust