From 7f2f6964f97153e251f38fbe82a2d9ebe700afaf Mon Sep 17 00:00:00 2001 From: Phred Date: Sat, 2 Oct 2021 22:21:16 -0500 Subject: [PATCH] try reporting to coveralls --- .github/workflows/ci.yml | 16 +++++++++++++++- pom.xml | 8 ++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d72cae8099..1438c5d94c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,4 +31,18 @@ jobs: # https://docs.travis-ci.com/user/languages/java/#maven-default-script-command # tests are interdependent and require a specific order # running in parallel causes some tests to fail - - run: mvn test -B # -T 1C + # - run: mvn test -B # -T 1C + + - env: + CI_NAME: github + run: > + mvn + clean + jacoco:prepare-agent + test + jacoco:report + jacoco:report-aggregate + coveralls:report + --no-transfer-progress + --define repoToken=${{ secrets.GITHUB_TOKEN }} + --define pullRequest=${{ github.event.number }} diff --git a/pom.xml b/pom.xml index ffa1aff2100..8109ff51814 100644 --- a/pom.xml +++ b/pom.xml @@ -83,6 +83,14 @@ + + + + + org.eluder.coveralls + coveralls-maven-plugin + 4.3.0 +