Skip to content

Commit

Permalink
chore: save test report in GitHub Actions on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
markwoon committed Dec 29, 2023
1 parent 318b789 commit e6d8f86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-pharmcat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
run: ./gradlew test --no-daemon

- uses: actions/upload-artifact@v4
if: failure()
with:
name: ci-pharmcat-tests-jdk17
path: build/reports/tests/test/index.html
Expand All @@ -49,6 +50,7 @@ jobs:
run: ./gradlew testOnJava21 --no-daemon

- uses: actions/upload-artifact@v4
if: failure()
with:
name: ci-pharmcat-tests-jdk21
path: build/reports/tests/test/index.html
Expand Down

0 comments on commit e6d8f86

Please sign in to comment.