Skip integration tests in CI — no Postgres service available

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.
This commit is contained in:
Jordan Ramos
2026-06-16 15:09:10 -06:00
parent 95aac03769
commit c1a266f4f7

View File

@@ -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