Skip to content

Commit

Permalink
circleci e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
sandipndev committed Jan 3, 2024
1 parent 117da31 commit 73d7930
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
version: 2.1

orbs:
gh: circleci/[email protected]
gh: circleci/github-cli@2.3.0
node: circleci/[email protected]
android: circleci/[email protected]
rn: react-native-community/[email protected]

commands:
e2e_build_android:
steps:
- android/restore-gradle-cache
- run: |
yarn e2e:build android.emu.debug
- android/save-gradle-cache

parameters:
version:
Expand All @@ -28,6 +38,24 @@ parameters:
default: ""

jobs:
e2e_android:
executor:
name: android/android-machine
resource-class: large
tag: 2023.12.1
steps:
- checkout
- node/install:
install-yarn: true
node-version: '18.18.2'
- rn/yarn_install
- rn/android_emulator_start:
device_name: Pixel_API_29_AOSP
- e2e_build_android
- run: yarn e2e:test android.emu.debug
- store_artifacts:
path: artifacts

test_android_in_pr:
docker:
- image: cimg/android:2022.12
Expand Down Expand Up @@ -356,3 +384,4 @@ workflows:
jobs:
- test_android_in_pr
- test_ios_in_pr
- e2e_android

0 comments on commit 73d7930

Please sign in to comment.