Skip to content

Commit

Permalink
Always color all Maven steps, not just the ones using --batch-mode (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Sep 18, 2022
1 parent a31f9e1 commit 7b0d6b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Install dependencies
run: mvn install -Pinclude-extra-modules -DskipTests=true -DskipITs=true -Darchetype.test.skip=true -Dmaven.javadoc.skip=true --batch-mode -Dstyle.color=always --show-version
- name: Test
run: mvn verify -Pinclude-extra-modules
run: mvn verify -Pinclude-extra-modules -Dstyle.color=always
env:
CUCUMBER_PUBLISH_TOKEN: ${{ secrets.CUCUMBER_PUBLISH_TOKEN }}

Expand All @@ -57,7 +57,7 @@ jobs:
- name: Install dependencies
run: mvn install -DskipTests=true -DskipITs=true -Darchetype.test.skip=true -Dmaven.javadoc.skip=true --batch-mode -Dstyle.color=always --show-version
- name: Javadoc
run: mvn javadoc:jar
run: mvn javadoc:jar -Dstyle.color=always

coverage:
name: 'Coverage'
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Install dependencies
run: mvn install -Pinclude-extra-modules -DskipTests=true -DskipITs=true -Darchetype.test.skip=true -Dmaven.javadoc.skip=true --batch-mode -Dstyle.color=always --show-version
- name: Test (Coverage)
run: mvn jacoco:prepare-agent verify jacoco:report -Pinclude-extra-modules
run: mvn jacoco:prepare-agent verify jacoco:report -Pinclude-extra-modules -Dstyle.color=always
- uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
Expand All @@ -104,4 +104,4 @@ jobs:
- name: Install dependencies
run: mvn install -DskipTests=true -DskipITs=true -Darchetype.test.skip=true -Dmaven.javadoc.skip=true --batch-mode -Dstyle.color=always --show-version
- name: Test (Semver check)
run: mvn verify -Pcheck-semantic-version -DskipTests=true -DskipITs=true -Darchetype.test.skip=true
run: mvn verify -Pcheck-semantic-version -DskipTests=true -DskipITs=true -Darchetype.test.skip=true -Dstyle.color=always

0 comments on commit 7b0d6b3

Please sign in to comment.