Skip to content

fix: adopt withAuthTab() to fix spurious USER_CANCELLED on Android #1902

fix: adopt withAuthTab() to fix spurious USER_CANCELLED on Android

fix: adopt withAuthTab() to fix spurious USER_CANCELLED on Android #1902

Workflow file for this run

name: CI
on:
pull_request:
types:
- opened
- synchronize
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
test:
name: Run JS tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup
uses: ./.github/actions/setup
- name: Run tests
run: yarn test:ci
- name: Upload coverage report
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f
with:
directory: coverage
android-test:
name: Run Android tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup
uses: ./.github/actions/setup
- name: Set up JDK 17
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5
with:
distribution: temurin
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5
- name: Run Android unit tests
working-directory: example/android
run: ./gradlew :react-native-auth0:testDebugUnitTest