From 81598621e869811f810041b991416f0d036c2d75 Mon Sep 17 00:00:00 2001 From: Li Jie Date: Fri, 3 Jan 2025 18:35:00 +0800 Subject: [PATCH] ci: codecov report excludes llgo library --- .github/ci-config/codecov.yml | 7 +++++++ .github/workflows/go.yml | 8 +------- 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 .github/ci-config/codecov.yml diff --git a/.github/ci-config/codecov.yml b/.github/ci-config/codecov.yml new file mode 100644 index 00000000..70491b07 --- /dev/null +++ b/.github/ci-config/codecov.yml @@ -0,0 +1,7 @@ +coverage: + ignore: + - "c" + - "py" + - "x" + - "cmd" + - "cpp" diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f1296e09..db78e19b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -142,15 +142,9 @@ jobs: - name: Show test result run: cat result.md - - name: PR comment with test result - uses: thollander/actions-comment-pull-request@v3 - if: false - with: - filePath: result.md - comment_tag: test-result-on-${{matrix.os}}-with-llvm-${{matrix.llvm}} - - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v5 with: token: ${{secrets.CODECOV_TOKEN}} slug: goplus/llgo + codecov_yml_path: .github/ci-config/codecov.yml