This is an automated email from the ASF dual-hosted git repository. haonan pushed a commit to branch support_codecov in repository https://gitbox.apache.org/repos/asf/tsfile.git
commit f2137ebce4efbdd1df0f06e969c152405c98964d Author: HTHou <[email protected]> AuthorDate: Tue Jul 30 10:42:08 2024 +0800 split codecov workflow --- .github/workflows/unit-test.yml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 9f1aa26d..93e95a80 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -82,26 +82,3 @@ jobs: shell: bash run: | ./mvnw${{ steps.platform_suffix.outputs.platform_suffix }} -P with-java,with-cpp,with-python clean verify - - - codecov: - runs-on: ubuntu-latest - if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'apache/iotdb' || github.event_name == 'push' - - steps: - - uses: actions/checkout@v4 - - name: Cache Maven packages - uses: actions/cache@v4 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2- - - name: Test - run: | - ./mvn -B -P with-java,with-cpp,with-python,with-code-coverage clean verify - mvn -B -P with-code-coverage clean post-integration-test - - name: Upload coverage reports to codecov - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: ./code-coverage/target/jacoco-merged-reports/jacoco.xml
