Simplify CI

This commit is contained in:
Alex Gleason 2024-11-25 23:43:48 -06:00
parent afb450e412
commit 840b7231cd
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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: