Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 3b70143

Browse files
committed
docs: Use Codecov badge to replace the old one which was work with Kover
1 parent f441268 commit 3b70143

File tree

4 files changed

+1
-33
lines changed

4 files changed

+1
-33
lines changed

.github/badges/branches.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/badges/jacoco.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/backend_test.yaml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -53,35 +53,6 @@ jobs:
5353
with:
5454
working-dir: ./backend
5555

56-
57-
# Comment out for now. Since Kover does not generate jacoco.csv report today
58-
#
59-
# - name: Generate Test Coverage Badge
60-
# uses: emibcn/badge-action@v1.2.1
61-
# with:
62-
# label: coverage
63-
# status: ''
64-
# jacoco-csv-file: ./backend/build/reports/jacoco/test/jacocoTestReport.csv
65-
# generate-branches-badge: true
66-
#
67-
# - name: Generate JaCoCo Badge
68-
# uses: cicirello/jacoco-badge-generator@v2
69-
# with:
70-
# jacoco-csv-file: ./backend/build/reports/jacoco/test/jacocoTestReport.csv
71-
# generate-branches-badge: true
72-
#
73-
# - name: Log coverage percentage
74-
# run: |
75-
# echo "coverage = ${{ steps.jacoco.outputs.coverage }}"
76-
# echo "branch coverage = ${{ steps.jacoco.outputs.branches }}"
77-
#
78-
# - name: Commit and push the badge (if it changed)
79-
# uses: EndBug/add-and-commit@v7
80-
# with:
81-
# default_author: github_actions
82-
# message: 'doc: update test coverage badge'
83-
# add: '*.svg'
84-
8556
- name: Upload Kover coverage reports
8657
uses: codecov/codecov-action@v2
8758
with:

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55

66
[![Backend test](https://github.com/thoughtworks/metrik/actions/workflows/backend_test.yaml/badge.svg)](https://github.com/thoughtworks/metrik/actions/workflows/backend_test.yaml)
77
[![Frontend test](https://github.com/thoughtworks/metrik/actions/workflows/frontend_test.yaml/badge.svg)](https://github.com/thoughtworks/metrik/actions/workflows/frontend_test.yaml)
8-
![Coverage](.github/badges/jacoco.svg)
9-
![Branches](.github/badges/branches.svg)
8+
[![codecov](https://codecov.io/gh/thoughtworks/metrik/branch/main/graph/badge.svg?token=KON1ADTCCD)](https://codecov.io/gh/thoughtworks/metrik)
109

1110
[![Release](https://img.shields.io/github/v/release/thoughtworks/metrik.svg?include_prereleases&style=flat)](https://github.com/thoughtworks/metrik/releases)
1211

0 commit comments

Comments
 (0)