Skip to content

Commit 83cb092

Browse files
committed
added android tests to github action workflow
1 parent b4c4e9f commit 83cb092

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,27 @@ jobs:
3131
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f
3232
with:
3333
directory: coverage
34+
35+
android-test:
36+
name: Run Android tests
37+
runs-on: ubuntu-latest
38+
39+
steps:
40+
- name: Checkout
41+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
42+
43+
- name: Setup
44+
uses: ./.github/actions/setup
45+
46+
- name: Set up JDK 17
47+
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5
48+
with:
49+
distribution: temurin
50+
java-version: '17'
51+
52+
- name: Setup Gradle
53+
uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5
54+
55+
- name: Run Android unit tests
56+
working-directory: example/android
57+
run: ./gradlew :react-native-auth0:testDebugUnitTest

0 commit comments

Comments
 (0)