From 0308380b3e02f8c5aee0dcb1cee7624384632601 Mon Sep 17 00:00:00 2001 From: Phred Date: Thu, 7 Oct 2021 18:16:36 -0500 Subject: [PATCH] I don't understand the interdependencies of each goal :shrug: --- .github/workflows/ci.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e10d13d744..f5aaf4fea03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,15 +40,7 @@ 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 - - # do we need all these goals? Most other projects just do jacoco:report and coveralls:report - - run: > - mvn - jacoco:report - jacoco:report-aggregate - verify - --define jacoco.skip=false + - run: mvn test --batch-mode - env: CI_BUILD_NUMBER: ${{ github.run_id }} @@ -57,7 +49,12 @@ jobs: CI_BRANCH: ${{ github.head_ref }} CI_NAME: github CI_PULL_REQUEST: ${{ github.event.pull_request.number }} + # do we need all these goals? Most other projects just do jacoco:report and coveralls:report run: > mvn + jacoco:report + jacoco:report-aggregate + verify coveralls:report + --define jacoco.skip=false --define repoToken=${{ secrets.GITHUB_TOKEN }}