From fdc8fc68ee8d6fe4996315e7f44511a8699bb8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Alc=C3=A9rreca?= Date: Fri, 21 Jun 2024 15:57:11 +0200 Subject: [PATCH 1/3] Update PreviewScreenshot to alpha02 --- ui/PreviewScreenshot/gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/PreviewScreenshot/gradle/libs.versions.toml b/ui/PreviewScreenshot/gradle/libs.versions.toml index c6b55a64..70aab24b 100644 --- a/ui/PreviewScreenshot/gradle/libs.versions.toml +++ b/ui/PreviewScreenshot/gradle/libs.versions.toml @@ -8,7 +8,7 @@ espressoCore = "3.5.1" lifecycleRuntimeKtx = "2.7.0" activityCompose = "1.9.0" composeBom = "2024.05.00" -screenshot = "0.0.1-alpha01" +screenshot = "0.0.1-alpha02" [libraries] androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } From e22842fb68a371a6f33d8014fdf512bc6a06d115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Alc=C3=A9rreca?= Date: Fri, 21 Jun 2024 16:45:07 +0200 Subject: [PATCH 2/3] Update composescreenshot.yml --- .github/workflows/composescreenshot.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/composescreenshot.yml b/.github/workflows/composescreenshot.yml index c717f830..dde0a29a 100644 --- a/.github/workflows/composescreenshot.yml +++ b/.github/workflows/composescreenshot.yml @@ -22,3 +22,10 @@ jobs: - name: Build project and run screenshot tests working-directory: ./ui/PreviewScreenshot run: ./gradlew validateDebugScreenshotTest + + - name: Upload test results + if: always() + uses: actions/upload-artifact@v4 + with: + name: test-results + path: '**/build/test-results/' From b01281587bad1134cd2ce203866fc045085663b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Alc=C3=A9rreca?= Date: Fri, 21 Jun 2024 16:51:12 +0200 Subject: [PATCH 3/3] Update composescreenshot.yml --- .github/workflows/composescreenshot.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/composescreenshot.yml b/.github/workflows/composescreenshot.yml index dde0a29a..166a4505 100644 --- a/.github/workflows/composescreenshot.yml +++ b/.github/workflows/composescreenshot.yml @@ -29,3 +29,10 @@ jobs: with: name: test-results path: '**/build/test-results/' + + - name: Upload screenshot tests results + if: always() + uses: actions/upload-artifact@v4 + with: + name: reports + path: '**/build/reports/screenshotTest/'