Skip to content

Commit

Permalink
chore: save test results on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
markwoon committed Jan 11, 2024
1 parent 0ab73bb commit fb13a49
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci-pharmcat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,23 @@ jobs:
- name: Run PharmCAT tests
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
if-no-files-found: ignore

- name: Run PharmCAT tests on Java 21
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
if-no-files-found: ignore

- name: Codecov
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit fb13a49

Please sign in to comment.