From f023356122ccab5e7a8512bab540767f5fa5fa60 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 16 Jan 2023 14:07:56 +0000 Subject: [PATCH] test --- .github/workflows/create-badge.yml | 3 +++ README.md | 2 +- test-wiki-coverage-results.md | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-badge.yml b/.github/workflows/create-badge.yml index e4f2be4..3622446 100644 --- a/.github/workflows/create-badge.yml +++ b/.github/workflows/create-badge.yml @@ -33,6 +33,9 @@ jobs: badge=`echo $badge | sed 's/.$//'` echo $badge + - name: Update README.md with Code Coverage Badge + run: sed -i -e "s|.*|$badge|g" README.md + - name: Upload Coverage Badge uses: actions/upload-artifact@v3 with: diff --git a/README.md b/README.md index e5e7e4c..8280d1c 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,4 @@ [![](https://github.com/cctan777/test-wiki/wiki/test-wiki-coverage-badge.svg)](https://github.com/cctan777/test-wiki/wiki/test-wiki-coverage-results) -[![](https://img.shields.io/badge/Code%20Coverage-85%25-success?style=flat)](https://github.com/cctan777/test-wiki/wiki/test-wiki-coverage-results) +[![](https://img.shields.io/badge/Code%20Coverage-85%25-success?style=flat)](https://github.com/cctan777/test-wiki/wiki/test-wiki-coverage-results) diff --git a/test-wiki-coverage-results.md b/test-wiki-coverage-results.md index e6d5628..8359e80 100644 --- a/test-wiki-coverage-results.md +++ b/test-wiki-coverage-results.md @@ -1,4 +1,4 @@ -![Code Coverage](https://img.shields.io/badge/Code%20Coverage-85%25-success?style=flat) +![Code Coverage](https://img.shields.io/badge/Code%20Coverage-86%25-success?style=flat) Package | Line Rate | Health -------- | --------- | ------