From 784a711554148d9a4e8059b5ae7fbf62b498cf8a Mon Sep 17 00:00:00 2001 From: leehk Date: Mon, 21 Apr 2025 10:39:41 +0800 Subject: [PATCH] show the coverage table on action result --- .github/workflows/template_unit_pytest.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/template_unit_pytest.yml b/.github/workflows/template_unit_pytest.yml index 74f5107..6980210 100644 --- a/.github/workflows/template_unit_pytest.yml +++ b/.github/workflows/template_unit_pytest.yml @@ -81,4 +81,9 @@ jobs: if: success() || failure() # always run with: name: ${{ inputs.projectName }}-coverage-report - path: ${{ env.TESTS_COVERAGE_REPORT_PATH }} \ No newline at end of file + path: ${{ env.TESTS_COVERAGE_REPORT_PATH }} + + - name: Report Coverage + uses: codecov/report@v2 + with: + files: ${{ env.TESTS_COVERAGE_REPORT_PATH }} \ No newline at end of file