Skip to content

Commit

Permalink
Change jacoco to separate stage in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickfav committed Feb 16, 2023
1 parent 32e5691 commit a74efe0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: ./mvnw -B clean verify -DcommonConfig.jarSign.skip=true
run: ./mvnw -B clean verify -DcommonConfig.jarSign.skip=true -Djacoco.skip=true
- name: Prepare Jacoco Coverage Report # Because of strange bug, jacoco needs to be done in separate call
run: ./mvnw -B jacoco:report
- name: Analyze with SonaQube
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
Expand Down Expand Up @@ -94,6 +96,9 @@ jobs:
distribution: 'temurin'
- name: Build with Maven
run: ./mvnw -B verify -DskipTests
env:
OPENSOURCE_PROJECTS_KS_PW: ${{ secrets.KEYSTORE_PASSWORD }}
OPENSOURCE_PROJECTS_KEY_PW: ${{ secrets.KEYSTORE_KEY_PASSWORD }}
- name: Create and upload Github Release
uses: xresloader/upload-to-github-release@v1
env:
Expand Down

0 comments on commit a74efe0

Please sign in to comment.