feat: add flashlist #28
Workflow file for this run
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: 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 Android | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
check-latest: true | |
- name: Make Gradle executable | |
working-directory: /android/ | |
run: chmod +x ./gradlew | |
- name: Build Release APK | |
run: ./gradlew assembleRelease | |
test_android: | |
name: Test Android | |
needs: build_android | |
runs-on: macos-latest | |
steps: | |
- uses: mobile-dev-inc/[email protected] | |
with: | |
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }} | |
app-file: app/build/outputs/apk/release/app-release.apk | |
# build_ios: | |
# name: Build IOS | |
# timeout-minutes: 60 | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - uses: actions/setup-xcode@v2 | |
# with: | |
# xcode-version: 15 | |
# - run: xcodebuild -project MyApp.xcodeproj -scheme MyApp -destination 'platform=iOS Simulator,name=iPhone 11' | |
# | |
# test_ios: | |
# name: Test Android | |
# needs: build_android | |
# runs-on: macos-latest | |
# steps: | |
# - uses: mobile-dev-inc/[email protected] | |
# with: | |
# api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }} | |
# app-file: app/build/outputs/apk/release/app-release.apk |