Skip to content

test: set FCM background handler in index.js per docs #641

test: set FCM background handler in index.js per docs

test: set FCM background handler in index.js per docs #641

Workflow file for this run

name: JUnit Tests
on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/*.yml'
- 'android/**'
push:
branches:
- main
paths-ignore:
- 'docs-react-native/**'
- '**/*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit:
name: JUnit Tests
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 50
- name: Configure JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Gradle Cache
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('android/build.gradle*') }}-v1
- name: Resolve Gradle Dependencies
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
retry_wait_seconds: 60
max_attempts: 3
command: yarn build:core:android
- name: Run JUnit Tests
run: yarn test:core:android