build: add test results as comment
This commit is contained in:
parent
ebb25e9d41
commit
236cd34a32
1 changed files with 5 additions and 0 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -28,6 +28,11 @@ jobs:
|
||||||
java-version: 17
|
java-version: 17
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
- name : Test Summary
|
||||||
|
uses : EnricoMi/publish-unit-test-result-action@v1
|
||||||
|
with :
|
||||||
|
files : "**/build/test-results/test/TEST-*.xml"
|
||||||
|
if : always()
|
||||||
- name: Determine Status
|
- name: Determine Status
|
||||||
run: |
|
run: |
|
||||||
if [ "$(./gradlew properties | awk '/^version:/ { print $2; }' | grep '\-SNAPSHOT')" ]; then
|
if [ "$(./gradlew properties | awk '/^version:/ { print $2; }' | grep '\-SNAPSHOT')" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue