mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Merge branch 'coverage-support' into 'main'
ci: add code coverage See merge request soapbox-pub/ditto!421
This commit is contained in:
commit
d32cccd70e
1 changed files with 6 additions and 2 deletions
|
|
@ -20,7 +20,10 @@ check:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script: deno task test
|
script:
|
||||||
|
- deno task test --coverage=cov_profile
|
||||||
|
- deno coverage cov_profile
|
||||||
|
coverage: /All files[^\|]*\|[^\|]*\s+([\d\.]+)/
|
||||||
variables:
|
variables:
|
||||||
DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz
|
DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
@ -38,4 +41,5 @@ postgres:
|
||||||
variables:
|
variables:
|
||||||
DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz
|
DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz
|
||||||
DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
|
DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
|
||||||
POSTGRES_HOST_AUTH_METHOD: trust
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue