From 5a6e7bf9dd05b68d505f379959b1aa6812cc1261 Mon Sep 17 00:00:00 2001 From: MarekMaj Date: Thu, 6 Jun 2024 11:04:59 +0200 Subject: [PATCH] Fix jacoco code coverage info in PR. Remove printing jacoco stat to console (#101) * Remove printing jacoco stat to console * Set code coverage action for flink 1.18 run --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d209b75d..ee58d8e0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,6 @@ jobs: - name: Tests for Flink ${{ matrix.flink }} run: | mvn $MAVEN_CLI_OPTS $JAVA_ADDITIONAL_OPTS -Dflink.version=${{ matrix.flink }} test integration-test - cat target/site/jacoco/index.html | grep -o 'Total[^%]*%' - name: Test JavaDoc run: mvn $MAVEN_CLI_OPTS $JAVA_ADDITIONAL_OPTS javadoc:javadoc @@ -49,4 +48,4 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} min-coverage-overall: 40 min-coverage-changed-files: 60 - if: startsWith(matrix.flink, '1.15.0') + if: startsWith(matrix.flink, '1.18')