ci(store-screenshots): upload the test results when a capture fails (#7498)

This commit is contained in:
James Rich authored and GitHub committed 2026-09-30 11:52:41 -05:00
1 parent 7d16a65e74
commit 680bddfca1
1 file changed
+12
+12
View File
@@ -144,6 +144,18 @@ jobs:
if-no-files-found: warn
retention-days: 7
# The failing test's exception and the device logcat live only in these directories.
- name: Upload the test results
if: ${{ failure() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: store-screenshots-test-results
path: |
store-screenshots/build/outputs/androidTest-results/connected
store-screenshots/build/reports/androidTests/connected
if-no-files-found: warn
retention-days: 7
# The five Flathub shots, from the real desktop debug build on a virtual display.
desktop:
name: Desktop