Skip to content

Gracefully handle compose errors and record compose preview information for displaying #345

Gracefully handle compose errors and record compose preview information for displaying

Gracefully handle compose errors and record compose preview information for displaying #345

name: snapshots-processor checks
on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- gradle/**
- snapshots/**
- snapshots-processor/**
- snapshots-shared/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDKs
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 17
- name: Run build
run: ./gradlew :snapshots:snapshots-processor:build
processor_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDKs
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 17
- name: Run unit tests
run: ./gradlew :snapshots:snapshots-processor-test:test -Pandroid.useAndroidX=true
unit_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDKs
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 17
- name: Run unit tests
run: ./gradlew :snapshots:snapshots-processor:test