From c1a266f4f764ae99e5a153def1fcf3fe2cdddb5a Mon Sep 17 00:00:00 2001 From: Jordan Ramos Date: Tue, 16 Jun 2026 15:09:10 -0600 Subject: [PATCH] =?UTF-8?q?Skip=20integration=20tests=20in=20CI=20?= =?UTF-8?q?=E2=80=94=20no=20Postgres=20service=20available?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The migrations-idempotency.integration.test.js requires a reachable Postgres instance. The CI Docker container can't resolve the DATABASE_URL hostname. Skip files matching 'integration' in the test-backend job. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3fda6a7..0234ead 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -100,7 +100,7 @@ test-backend: policy: pull script: - test -d node_modules || npm ci - - ./node_modules/.bin/jest --ci --forceExit backend/__tests__/ + - ./node_modules/.bin/jest --ci --forceExit --testPathIgnorePatterns='integration' backend/__tests__/ timeout: 5 minutes needs: - install-backend