From 7db8e564ecf0984a450204fa5c5d10f1f4679da4 Mon Sep 17 00:00:00 2001 From: Phred Date: Thu, 7 Oct 2021 08:41:15 -0500 Subject: [PATCH] use github action instead of java to send report --- .github/workflows/ci.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8fd49f0675b..1083cb6d399 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,18 +42,14 @@ jobs: # running in parallel causes some tests to fail - run: mvn test -B # -T 1C - - env: - CI_BUILD_NUMBER: ${{ github.run_id }} - # this will need to be updated to work on the main branch - CI_BUILD_URL: https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}/checks - CI_BRANCH: ${{ github.head_ref }} - CI_NAME: github - CI_PULL_REQUEST: ${{ github.event.pull_request.number }} - run: > + - run: > mvn jacoco:report jacoco:report-aggregate verify - coveralls:report --define jacoco.skip=false - --define repoToken=${{ secrets.GITHUB_TOKEN }} + + - name: Coveralls GitHub Action + uses: coverallsapp/github-action@1.1.3 + with: + github-token: ${{ secrets.GITHUB_TOKEN }}