Skip to content

Commit

Permalink
Store build reports as artifact on test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
twyatt committed Nov 1, 2024
1 parent 16003af commit ed164b5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@ jobs:
- uses: gradle/actions/setup-gradle@v4

- run: ./gradlew assemble

- run: ./gradlew check
- uses: actions/upload-artifact@v4
if: failure()
with:
name: build-reports
path: '**/build/reports/*'
retention-days: 5

- run: ./gradlew jacocoTestReport

- uses: codecov/codecov-action@v4
Expand Down

0 comments on commit ed164b5

Please sign in to comment.