diff options
-rw-r--r-- | .github/workflows/continuous-integration.yml | 2 | ||||
-rw-r--r-- | code-coverage-report/build.gradle | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 9db301f..9de96ec 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -66,7 +66,7 @@ jobs: env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} with: - arguments: codeCoverageReport coveralls + arguments: coveralls continue-on-error: true if: runner.os == 'Linux' && matrix.java == '11' && matrix.epVersion == '2.4.0' && github.repository == 'uber/NullAway' - name: Check that Git tree is clean after build and test diff --git a/code-coverage-report/build.gradle b/code-coverage-report/build.gradle index 42011f7..acd5a74 100644 --- a/code-coverage-report/build.gradle +++ b/code-coverage-report/build.gradle @@ -71,6 +71,12 @@ coveralls { } } +def coverallsTask = tasks.named('coveralls') + +coverallsTask.configure { + dependsOn 'codeCoverageReport' +} + // These dependencies indicate which projects have tests or tested code we want to include // when computing overall coverage. We aim to measure coverage for all code that actually ships // in a Maven artifact (so, e.g., we do not measure coverage for the jmh module) |