Skip to content

Update dependency androidx.compose:compose-bom to v2024.09.01 #426

Update dependency androidx.compose:compose-bom to v2024.09.01

Update dependency androidx.compose:compose-bom to v2024.09.01 #426

Workflow file for this run

name: tests
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
tests:
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build
run: ./gradlew :app:build
- name: Test
run: ./gradlew :app:testDebug
- name: Snapshot test
id: snapshots
run: ./gradlew :app:verifyPaparazziDebug
- name: Upload snapshot failures
id: upload-snapshot-failures
if: ${{ failure() && steps.snapshots.conclusion == 'failure' }}
run: ./upload-snapshots-diff.sh
env:
COMMIT_SHA: ${{ github.sha }}
ASSETS_TOKEN: ${{ secrets.ASSETS_TOKEN }}
DIFFS_PATH: ${{ github.workspace }}/app/build/paparazzi/failures
- name: Add snapshots report
if: ${{ failure() && steps.snapshots.conclusion == 'failure' }}
uses: mshick/add-pr-comment@v2
with:
message: ${{ steps.upload-snapshot-failures.outputs.SNAPSHOT_REPORT_MESSAGE }}