mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-09 14:13:06 +08:00
ci: enable codecov for test coverage
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
This commit is contained in:
parent
175bf4a061
commit
f1193bc509
2
.github/workflows/__check-nodejs.yml
vendored
2
.github/workflows/__check-nodejs.yml
vendored
@ -16,3 +16,5 @@ jobs:
|
||||
security-events: write
|
||||
with:
|
||||
build: ""
|
||||
test: |
|
||||
{"coverage":"codecov"}
|
||||
|
||||
8
.github/workflows/main-ci.yml
vendored
8
.github/workflows/main-ci.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user