Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 1042f01

Browse files
committed
Only publish test reports when failure
1 parent 9514cbb commit 1042f01

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,12 @@ jobs:
3939
uses: actions/setup-java@v1
4040
with:
4141
java-version: ${{ matrix.java }}
42-
- name: Optional setup step
43-
run: |
44-
[ -f ./setup.sh ] && ./setup.sh || true
4542
- name: Run all tests (chromeHeadless) except spring-boot
4643
run: ./gradlew -Dgeb.env=chromeHeadless check --no-daemon -x gorm-hibernate5-spring-boot:test
4744
- name: Run Spring Boot Tests
4845
run: ./gradlew gorm-hibernate5-spring-boot:test --no-daemon
4946
- name: Publish Test Report
47+
if: failure()
5048
uses: scacap/action-surefire-report@v1
5149
with:
5250
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)