Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Commit

Permalink
Remove JaCoCo report from Maven workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Anatoly Frolov committed Feb 4, 2024
1 parent 05bcb98 commit 2d02e69
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:

jobs:
build:

runs-on: windows-latest

steps:
Expand All @@ -29,29 +30,15 @@ jobs:
java-version: '21'
distribution: 'oracle'
cache: maven

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Test with Maven
run: mvn -B test --file pom.xml

- name: JUnit Report Action
uses: mikepenz/action-junit-report@v4.1.0

if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/build/surefire-reports/TEST-*.xml'

report-coverage:
steps:
- name: JaCoCo Report
uses: Madrapps/jacoco-report@v1.6.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
path: |
${{ github.workspace }}/**/build/reports/jacoco/prodNormalDebugCoverage/prodNormalDebugCoverage.xml,
${{ github.workspace }}/**/build/reports/jacoco/**/debugCoverage.xml
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
# - name: Update dependency graph
# uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6

0 comments on commit 2d02e69

Please sign in to comment.