mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-17 13:34:24 +01:00
Simplify CI
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user