From f1193bc5098d465840d24708db36713b0e86822e Mon Sep 17 00:00:00 2001 From: Emilien Escalle Date: Sat, 22 Nov 2025 21:34:15 +0100 Subject: [PATCH] ci: enable codecov for test coverage Signed-off-by: Emilien Escalle --- .github/workflows/__check-nodejs.yml | 2 ++ .github/workflows/main-ci.yml | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/__check-nodejs.yml b/.github/workflows/__check-nodejs.yml index a47be0b..1190f9a 100644 --- a/.github/workflows/__check-nodejs.yml +++ b/.github/workflows/__check-nodejs.yml @@ -16,3 +16,5 @@ jobs: security-events: write with: build: "" + test: | + {"coverage":"codecov"} diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml index 1e57046..e48211e 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -47,6 +47,14 @@ jobs: uses: hoverkraft-tech/ci-dokumentor@c46a1a108957237cf485103a80b060c35c7dba33 # 0.2.2 with: source: action.yml + extra-badges: | + [ + { + "label":"codecov", + "url":"https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA", + "linkUrl":"https://codecov.io/gh/hoverkraft-tech/compose-action" + } + ] - uses: actions/create-github-app-token@7e473efe3cb98aa54f8d4bac15400b15fad77d94 # v2.2.0 id: generate-token