Skip to content

Commit

Permalink
Merge pull request #23 from leanix/feature/cid-2970/test-information
Browse files Browse the repository at this point in the history
cid-2870 Adds test report to the build workflow
  • Loading branch information
alfredo-mfaria authored Sep 3, 2024
2 parents afcd120 + f0da8e0 commit 62be6e5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/leanix-github-agent-code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ jobs:
arguments: build
build-root-directory: .

- name: Report Test Results
uses: dorny/test-reporter@v1
with:
name: Unit Tests
path: |
${{ github.workspace }}/build/test-results/test/*.xml
reporter: java-junit
fail-on-error: true
fail-on-empty: true
only-summary: false

- name: Add coverage to PR
id: jacoco
uses: madrapps/jacoco-report@v1.3
Expand Down

0 comments on commit 62be6e5

Please sign in to comment.