fix(android): set all services / activities to exported=false #640
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |