Skip to content

Improved roborazzi.generateComposePreviewRobolectricTests.packages specification #1541

Improved roborazzi.generateComposePreviewRobolectricTests.packages specification

Improved roborazzi.generateComposePreviewRobolectricTests.packages specification #1541

Workflow file for this run

name: plain-tests
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: tests
id: test
run: |
./gradlew test --stacktrace -x testReleaseUnitTest
- name: include build tests
id: include-build-test
run: |
cd include-build
./gradlew test jvmTest --stacktrace -x testReleaseUnitTest
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
if: ${{ always() }}
with:
name: tests-reports
path: |
**/build/reports
**/build/outputs/roborazzi
retention-days: 30