From 2a0d7f556052757d51429004bfd8ecaa197d2df8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=BB=8B=E6=B6=A6?= <807046079@qq.com> Date: Tue, 5 Nov 2024 11:41:42 +0800 Subject: [PATCH] Upload test results to Codecov --- .github/workflows/common-test-and-update-docs.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/common-test-and-update-docs.yml b/.github/workflows/common-test-and-update-docs.yml index 20c2921..f3f400d 100644 --- a/.github/workflows/common-test-and-update-docs.yml +++ b/.github/workflows/common-test-and-update-docs.yml @@ -46,6 +46,13 @@ jobs: files: docs/coverage.out token: ${{ secrets.CODECOV_TOKEN }} + - name: Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + files: docs/test-report.xml + token: ${{ secrets.CODECOV_TOKEN }} + - name: Execute updateDocs.sh in container run: docker exec leap-ledger-server sh "./docs/updateDocs.sh"