From 3048e0dde79419ca5340bfd0e45990f11e0787c2 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Mon, 5 Feb 2024 14:53:30 +0800 Subject: [PATCH] update codecov CI --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4cf848da..818e3e9a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,10 +58,11 @@ jobs: - name: Unit Test with Coverage run: bash run_tests.sh - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} directory: .coverage + fail_ci_if_error: true if: github.ref == 'refs/heads/main' - name: Compile run: |