diff --git a/.github/workflows/store-screenshots.yml b/.github/workflows/store-screenshots.yml index 354d8f3aaa..29ef3fcb42 100644 --- a/.github/workflows/store-screenshots.yml +++ b/.github/workflows/store-screenshots.yml @@ -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