From f38ab672104d5e51a9296ee2f1a00da02aec6574 Mon Sep 17 00:00:00 2001 From: kenlig <28685375+kenlig@users.noreply.github.com> Date: Sat, 28 Sep 2024 00:46:23 +0800 Subject: [PATCH] update --- .github/workflows/test-attach.yml | 7 +++++++ .github/workflows/test-runtime.yml | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/test-attach.yml b/.github/workflows/test-attach.yml index f89e1113..5d8ce80e 100644 --- a/.github/workflows/test-attach.yml +++ b/.github/workflows/test-attach.yml @@ -92,3 +92,10 @@ jobs: include-hidden-files: false path: | ./coverage-syscall-trace.info + - uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true # optional (default = false) + files: ./coverage-syscall-trace.info, ./coverage-uprobe.info # optional + flags: attach tests (uprobe & syscall trace) + token: ${{ secrets.CODECOV_TOKEN }} # required + verbose: true # optional (default = false) diff --git a/.github/workflows/test-runtime.yml b/.github/workflows/test-runtime.yml index 4ec2d130..a2ce689c 100644 --- a/.github/workflows/test-runtime.yml +++ b/.github/workflows/test-runtime.yml @@ -92,3 +92,11 @@ jobs: path: | ./coverage-runtime-mpk.info + - uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true # optional (default = false) + files: ./coverage-runtime.info + flags: runtime tests + token: ${{ secrets.CODECOV_TOKEN }} # required + verbose: true # optional (default = false) + \ No newline at end of file