Skip to content

Commit af6c570

Browse files
committed
feat: add code coverage report GitHub Action
Fix devfile#929 Signed-off-by: Andrew Obuchowicz <[email protected]>
1 parent 6f17336 commit af6c570

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/code-coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Check Code Coverage
1+
name: Code Coverage Report
22

33
on:
44
push:

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Dev Workspace Operator
22

3+
[![codecov](https://codecov.io/gh/devfile/devworkspace-operator/branch/main/graph/badge.svg)](https://codecov.io/gh//devfile/devworkspace-operator)
4+
35
Dev Workspace operator repository that contains the controller for the DevWorkspace Custom Resource. The Kubernetes API of the DevWorkspace is defined in the https://github.com/devfile/api repository.
46

57
## DevWorkspace CR
@@ -181,3 +183,5 @@ This will delete all custom resource definitions created for the controller, as
181183
#### GitHub actions
182184

183185
- [Next Dockerimage](https://github.com/devfile/devworkspace-operator/blob/main/.github/workflows/dockerimage-next.yml) action builds main branch and pushes it to [quay.io/devfile/devworkspace-controller:next](https://quay.io/repository/devfile/devworkspace-controller?tag=latest&tab=tags)
186+
187+
- [Code Coverage Report](./.github/workflows/code-coverage.yml) action creates a code coverage report using [codecov.io](https://about.codecov.io/).

0 commit comments

Comments
 (0)