Get rid of Postgres job in CI

This commit is contained in:
Alex Gleason 2024-10-16 22:43:38 -05:00
parent 2764cbf97a
commit 5e415f897f
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -21,11 +21,15 @@ check:
test: test:
stage: test stage: test
script: script:
- deno task test --coverage=cov_profile - sleep 1 && deno task test --coverage=cov_profile
- deno coverage cov_profile - deno coverage cov_profile
coverage: /All files[^\|]*\|[^\|]*\s+([\d\.]+)/ coverage: /All files[^\|]*\|[^\|]*\s+([\d\.]+)/
services:
- postgres:16
variables: variables:
DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz
TEST_DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
POSTGRES_HOST_AUTH_METHOD: trust
artifacts: artifacts:
when: always when: always
paths: paths:
@ -33,12 +37,3 @@ test:
reports: reports:
junit: deno-test.xml 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