Upload test reports on test and build workflow failures (#4143)

This commit is contained in:
Patrick Honkonen 2024-10-23 12:53:20 -04:00 committed by GitHub
parent 51c87625cb
commit 24c8406ed8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 0 deletions

View file

@ -84,6 +84,13 @@ jobs:
- name: Build - name: Build
run: bundle exec fastlane assembleDebugApks run: bundle exec fastlane assembleDebugApks
- name: Upload test reports on failure
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
if: failure()
with:
name: test-reports
path: app/build/reports/tests/
publish_playstore: publish_playstore:
name: Publish Play Store artifacts name: Publish Play Store artifacts
needs: needs:

View file

@ -80,6 +80,13 @@ jobs:
run: | run: |
bundle exec fastlane check bundle exec fastlane check
- name: Upload test reports on failure
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
if: failure()
with:
name: test-reports
path: app/build/reports/tests/
- name: Upload to codecov.io - name: Upload to codecov.io
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0 uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with: with: