diff --git a/.github/workflows/composescreenshot.yml b/.github/workflows/composescreenshot.yml index c717f830..166a4505 100644 --- a/.github/workflows/composescreenshot.yml +++ b/.github/workflows/composescreenshot.yml @@ -22,3 +22,17 @@ 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/' + + - name: Upload screenshot tests results + if: always() + uses: actions/upload-artifact@v4 + with: + name: reports + path: '**/build/reports/screenshotTest/' 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" }