Use codecov action
@@ -101,8 +101,12 @@ jobs:
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
run: .github/workflows/scripts/.pinot_test.sh
- name: Upload coverage to Codecov
- run: |
- bash <(curl -s https://codecov.io/bash) -cF unittests${{ matrix.testset }}
+ uses: codecov/codecov-action@v3
+ with:
+ flags: unittests${{ matrix.testset }}
+ name: codecov-unit-tests
+ fail_ci_if_error: true
+ verbose: true
integration-test:
if: github.repository == 'apache/pinot'
@@ -139,8 +143,12 @@ jobs:
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
run: .github/workflows/scripts/.pinot_test.sh
- name: Upload coverage to Codecov
- run: |
- bash <(curl -s https://codecov.io/bash) -cF integration${{ matrix.testset }}
+ uses: codecov/codecov-action@v3
+ with:
+ flags: integration${{ matrix.testset }}
+ name: codecov-integration-tests
+ fail_ci_if_error: true
+ verbose: true
compatibility-verifier:
if: github.repository == 'apache/pinot'
