mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Simplify CI
This commit is contained in:
parent
afb450e412
commit
840b7231cd
1 changed files with 5 additions and 13 deletions
|
|
@ -6,22 +6,13 @@ default:
|
|||
stages:
|
||||
- test
|
||||
|
||||
fmt:
|
||||
stage: test
|
||||
script: deno fmt --check
|
||||
|
||||
lint:
|
||||
stage: test
|
||||
script: deno lint
|
||||
|
||||
check:
|
||||
stage: test
|
||||
script: deno task check
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- sleep 1 && deno task test --coverage=cov_profile
|
||||
- deno fmt --check
|
||||
- deno lint
|
||||
- deno task check
|
||||
- deno task test --coverage=cov_profile
|
||||
- deno coverage cov_profile
|
||||
coverage: /All files[^\|]*\|[^\|]*\s+([\d\.]+)/
|
||||
services:
|
||||
|
|
@ -30,6 +21,7 @@ test:
|
|||
DITTO_NSEC: nsec1zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zyg3zygs4rm7hz
|
||||
DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
RUST_BACKTRACE: 1
|
||||
artifacts:
|
||||
when: always
|
||||
paths:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue