From 99f538f69eb78b4c23a1f6d5eb281b2b09d8a23f Mon Sep 17 00:00:00 2001 From: huangzhangshu Date: Fri, 10 Nov 2023 14:01:59 +0800 Subject: [PATCH 1/2] chore: fix upload codecoverage error --- .github/workflows/cicd-pull-request.yml | 2 +- .github/workflows/cicd-push.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd-pull-request.yml b/.github/workflows/cicd-pull-request.yml index a18b990e7..d041cae34 100644 --- a/.github/workflows/cicd-pull-request.yml +++ b/.github/workflows/cicd-pull-request.yml @@ -80,7 +80,7 @@ jobs: continue-on-error: true with: token: ${{ secrets.CODECOV_TOKEN }} - files: ./cover_new.out + files: ./cover.out flags: unittests name: codecov-report verbose: true diff --git a/.github/workflows/cicd-push.yml b/.github/workflows/cicd-push.yml index 9dcd13e2c..e45c581a3 100644 --- a/.github/workflows/cicd-push.yml +++ b/.github/workflows/cicd-push.yml @@ -155,7 +155,7 @@ jobs: continue-on-error: true with: token: ${{ secrets.CODECOV_TOKEN }} - files: ./cover_new.out + files: ./cover.out flags: unittests name: codecov-report verbose: true From d38712cbbd90d84001dd2dd8f34443a3933bd253 Mon Sep 17 00:00:00 2001 From: huangzhangshu Date: Fri, 10 Nov 2023 14:36:52 +0800 Subject: [PATCH 2/2] chore: change cli check --- .github/utils/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/utils/utils.sh b/.github/utils/utils.sh index 4ee3de01d..6e68ec6ba 100644 --- a/.github/utils/utils.sh +++ b/.github/utils/utils.sh @@ -505,7 +505,7 @@ get_trigger_mode() { .github/*|.devcontainer/*|githooks/*|examples/*) add_trigger_mode "[other]" ;; - pkg/cli/cmd/*) + pkg/cmd/*) add_trigger_mode "[cli][test]" ;; *)