Skip to content

Commit

Permalink
Store test reports only in case of failure
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospereira committed Nov 30, 2023
1 parent aa9ede1 commit 8bfdf04
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/linux-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ jobs:
HARBOR_USERNAME: ${{ secrets.HARBOR_USERNAME }}
HARBOR_PASSWORD: ${{ secrets.HARBOR_PASSWORD }}
run: ./gradlew functionalTest
- name: Store build reports for functionalTest
uses: actions/upload-artifact@v3
with:
name: functionalTest-reports
path: build/reports/tests/functionalTest/
- name: Documentation tests
run: ./gradlew docTest
- name: Store Test Reports
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: test-reports
path: build/reports/tests
- name: Assemble artifacts
run: ./gradlew assemble javadoc asciidoctorAllGuides
- name: Upload binaries
Expand Down

0 comments on commit 8bfdf04

Please sign in to comment.