From 74db24508c8c589b76655685dc3f271900e0b395 Mon Sep 17 00:00:00 2001 From: voidking Date: Mon, 8 Jan 2024 17:27:02 +0800 Subject: [PATCH] bugfix: if unittest failed, results still need to upload to codecov --- .github/workflows/unittest.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml index df4a71d691..d2202ae52c 100644 --- a/.github/workflows/unittest.yaml +++ b/.github/workflows/unittest.yaml @@ -4,10 +4,7 @@ on: workflow_dispatch: pull_request_target: push: - branches: - - 'main' - - 'dev' - - '*-release' + branches: - '*-debugger' jobs: @@ -79,3 +76,4 @@ jobs: uses: codecov/codecov-action@v3 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + if: ${{ always() }}