Browse Source

update codecov CI

blueloveTH 2 năm trước cách đây
mục cha
commit
3048e0dde7
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      .github/workflows/main.yml

+ 2 - 1
.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: |