Skip to content

style: de-lint headless task #664

style: de-lint headless task

style: de-lint headless task #664

Workflow file for this run

name: JUnit Tests
on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/*.yml'
- 'docs/**'
- 'android/**'
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '**/*.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