Skip to content

Commit f47e888

Browse files
authored
add coverage badges (#281)
Signed-off-by: Yaliang Wu <[email protected]>
1 parent 3bb1b73 commit f47e888

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/CI-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@ jobs:
8484
- name: Upload Coverage Report
8585
uses: codecov/codecov-action@v1
8686
with:
87-
file: ./build/reports/jacoco/test/jacocoTestReport.xml
88-
flags: plugin
87+
flags: ml-commons
88+
token: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
[![Test Workflow](https://github.com/opensearch-project/ml-commons/workflows/Build%20and%20Test%20ml-commons/badge.svg)](https://github.com/opensearch-project/ml-commons/actions)
2+
[![codecov](https://codecov.io/gh/opensearch-project/ml-commons/branch/main/graph/badge.svg)](https://codecov.io/gh/opensearch-project/ml-commons)
3+
[![Documentation](https://img.shields.io/badge/api-reference-blue.svg)](https://opensearch.org/docs/latest/ml-commons-plugin/api/)
4+
[![Chat](https://img.shields.io/badge/chat-on%20forums-blue)](https://discuss.opendistrocommunity.dev/c/alerting/)
5+
![PRs welcome!](https://img.shields.io/badge/PRs-welcome!-success)
6+
17
<img src="https://opensearch.org/assets/brand/SVG/Logo/opensearch_logo_default.svg" height="64px"/>
28

39
<!-- TOC -->

0 commit comments

Comments
 (0)