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:
|
stages:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
fmt:
|
|
||||||
stage: test
|
|
||||||
script: deno fmt --check
|
|
||||||
|
|
||||||
lint:
|
|
||||||
stage: test
|
|
||||||
script: deno lint
|
|
||||||
|
|
||||||
check:
|
|
||||||
stage: test
|
|
||||||
script: deno task check
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
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
|
- deno coverage cov_profile
|
||||||
coverage: /All files[^\|]*\|[^\|]*\s+([\d\.]+)/
|
coverage: /All files[^\|]*\|[^\|]*\s+([\d\.]+)/
|
||||||
services:
|
services:
|
||||||
|
|
@ -30,6 +21,7 @@ test:
|
||||||
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
|
||||||
|
RUST_BACKTRACE: 1
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue