mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-11 17:44:21 +01:00
Merge branch 'coverage-support' into 'main'
ci: add code coverage See merge request soapbox-pub/ditto!421
This commit is contained in:
@@ -20,7 +20,10 @@ check:
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script: deno task test
|
||||
script:
|
||||
- deno task test --coverage=cov_profile
|
||||
- deno coverage cov_profile
|
||||
coverage: /All files[^\|]*\|[^\|]*\s+([\d\.]+)/
|
||||
variables:
|
||||
DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz
|
||||
artifacts:
|
||||
@@ -38,4 +41,5 @@ postgres:
|
||||
variables:
|
||||
DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz
|
||||
DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
|
||||
|
||||
Reference in New Issue
Block a user