-
Notifications
You must be signed in to change notification settings - Fork 77
56 lines (54 loc) · 1.57 KB
/
e2e-testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: E2E Testing
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: react-native-workflow-${{ github.ref }}
cancel-in-progress: true
jobs:
build_android:
name: Build & Test Android
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
run: echo "To be implemented"
# gradlew assembleRelease currently fails due to monorepo structure
# - uses: actions/checkout@v3
#
# - name: Set up JDK 17
# uses: actions/setup-java@v3
# with:
# distribution: 'zulu'
# java-version: '17'
# check-latest: true
#
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version: '18'
#
# - name: Run Yarn Install
# run: yarn install
#
# - name: Build Release APK
# run: cd apps/rn-cli-app/android/ && ./gradlew assembleRelease
#
# - name: Upload to Maestro Cloud
# uses: mobile-dev-inc/[email protected]
# with:
# api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
# app-file: app/build/outputs/apk/debug/app-debug.apk
build_ios:
name: Build IOS
timeout-minutes: 60
runs-on: macos-latest
steps:
- name: Archive iOS app
run: echo "To be implemented"
# - uses: actions/checkout@v2
# - uses: maxim-lobanov/[email protected]
# with:
# xcode-version: 14.2.0
# - run: cd ios && xcodebuild -project reactnativetesting.xcodeproj -scheme reactnativetesting -destination 'platform=iOS Simulator,name=iPhone 11'