mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Merge branch 'ci-rm-postgres' into 'main'
Get rid of Postgres job in CI See merge request soapbox-pub/ditto!550
This commit is contained in:
commit
66583e7f60
1 changed files with 5 additions and 10 deletions
|
|
@ -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
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue