Report Test Results #163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"jobs": { | |
"checks": { | |
"runs-on": "ubuntu-22.04", | |
"permissions": { | |
"contents": "read", | |
"actions": "read", | |
"checks": "write" | |
}, | |
"steps": [ | |
{ | |
"with": { | |
"ref": "${{ github.event.workflow_run.head_commit.id }}", | |
"repository": "${{ github.event.workflow_run.head_repository.full_name }}" | |
}, | |
"name": "Checkout", | |
"uses": "actions/checkout@v4" | |
}, | |
{ | |
"with": { | |
"name": "junit-test-results", | |
"github-token": "${{ github.token }}", | |
"run-id": "${{ github.event.workflow_run.id }}" | |
}, | |
"name": "Download Test Report", | |
"uses": "actions/download-artifact@v4" | |
}, | |
{ | |
"with": { | |
"name": "Test Results - Java 17", | |
"path": "**/test-results/testOn17/**/TEST-*.xml", | |
"reporter": "java-junit", | |
"fail-on-empty": "true", | |
"list-tests": "failed" | |
}, | |
"name": "JUnit Test Report - Java 17", | |
"uses": "dorny/test-reporter@v1" | |
}, | |
{ | |
"with": { | |
"name": "Test Results - Java 21", | |
"path": "**/test-results/testOn21/**/TEST-*.xml", | |
"reporter": "java-junit", | |
"fail-on-empty": "true", | |
"list-tests": "failed" | |
}, | |
"name": "JUnit Test Report - Java 21", | |
"uses": "dorny/test-reporter@v1" | |
}, | |
{ | |
"with": { | |
"name": "Test Results - Misc", | |
"path": "**/test-results/test/**/TEST-*.xml", | |
"reporter": "java-junit", | |
"fail-on-empty": "true", | |
"list-tests": "failed" | |
}, | |
"name": "JUnit Test Report - Misc", | |
"uses": "dorny/test-reporter@v1" | |
} | |
] | |
} | |
}, | |
"name": "Report Test Results", | |
"concurrency": "ci-${{ github.ref }}", | |
"on": { | |
"workflow_run": { | |
"types": [ | |
"completed" | |
], | |
"workflows": [ | |
"Build PR", | |
"Snapshot" | |
] | |
} | |
} | |
} |