Skip to content

Commit c6df6a7

Browse files
committed
feat: codecov config
1 parent 046e431 commit c6df6a7

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

codecov.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
comment:
2+
layout: " diff, flags, files"
3+
behavior: default
4+
require_changes: false
5+
require_base: false
6+
require_head: true
7+
hide_project_coverage: false

justfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ clippy:
3535

3636
build PLATFORM=LOCAL_PLATFORM DOCKERFILE="./Dockerfile":
3737
@echo "building for {{PLATFORM}}"
38-
docker buildx build -t {{LOCAL_DOCKER_IMAGE}} --platform {{PLATFORM}} -f {{DOCKERFILE}} --load --build-arg COVERAGE=true .
38+
docker buildx build -t {{LOCAL_DOCKER_IMAGE}} --platform {{PLATFORM}} -f {{DOCKERFILE}} --load .
3939

4040
build-all DOCKERFILE="./Dockerfile":
4141
just build linux/arm64,linux/amd64 {{DOCKERFILE}}
@@ -118,10 +118,6 @@ test TYPE=DEFAULT_TEST: oidc-server-mock
118118
just stop-backend
119119
-docker rm -f database > /dev/null 2>&1
120120

121-
coverage:
122-
genhtml -q --output-directory coverage ./target/coverage.lcov
123-
cd coverage && python3 -m http.server 3000
124-
125121
fuzz:
126122
OIDC_PROVIDER="http://localhost:5151" OIDC_CLIENT_ID="client" OIDC_CLIENT_SECRET="secret" RUST_LOG="INFO" GRPC_ENDPOINT="http://localhost:8000" cargo fuzz run fuzz_create_and_export
127123

0 commit comments

Comments
 (0)