Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Test get report
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacnguyen0809 committed Sep 14, 2024
1 parent 66fc40d commit d229bd0
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/compose_screenshot_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,21 @@ jobs:
distribution: 'adopt'
java-version: '18'

- name: Gradle cache
uses: gradle/actions/setup-gradle@v4

- name: Enable Gradle Wrapper caching (optimization)
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Run Compose preview screenshot tests
run: ./gradlew validateDebugScreenshotTest
run: ./gradlew :screen:attributions:validateDebugScreenshotTest

- name: Upload build reports
uses: actions/upload-artifact@v4
if: always()
with:
name: my-artifact
path: screen/attributions/build/reports

0 comments on commit d229bd0

Please sign in to comment.