Skip to content

Improved roborazzi.generateComposePreviewRobolectricTests.packages specification #1705

Improved roborazzi.generateComposePreviewRobolectricTests.packages specification

Improved roborazzi.generateComposePreviewRobolectricTests.packages specification #1705

name: integration-test
on:
push:
branches:
- main
pull_request:
env:
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx6g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: 'zulu'
java-version: 19
- name: Gradle cache
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2
- name: integration test
id: integration-test
run: |
cd include-build
./gradlew roborazzi-gradle-plugin:check --stacktrace
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
if: ${{ always() }}
with:
name: test-reports
path: include-build/roborazzi-gradle-plugin/build/reports
retention-days: 30
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
if: ${{ always() }}
with:
name: test-test-results
path: include-build/roborazzi-gradle-plugin/build/test-results
retention-days: 30