From 2f7a9d2fef0615216830f086786dabca26601ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mads=20R=C3=B8skar?= Date: Thu, 11 Nov 2021 14:00:21 +0100 Subject: [PATCH] build: Remove e2e workflows as they're not stable enough atm --- .github/workflows/e2e-native-android.yml | 36 ------------------------ .github/workflows/e2e-native-ios.yml | 31 -------------------- .github/workflows/e2e-sample-android.yml | 36 ------------------------ .github/workflows/e2e-sample-ios.yml | 33 ---------------------- 4 files changed, 136 deletions(-) delete mode 100644 .github/workflows/e2e-native-android.yml delete mode 100644 .github/workflows/e2e-native-ios.yml delete mode 100644 .github/workflows/e2e-sample-android.yml delete mode 100644 .github/workflows/e2e-sample-ios.yml diff --git a/.github/workflows/e2e-native-android.yml b/.github/workflows/e2e-native-android.yml deleted file mode 100644 index f199fedf5a..0000000000 --- a/.github/workflows/e2e-native-android.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: e2e-native-android - -on: - pull_request: - branches: - - develop - - master - - 'v[0-9]+.[0-9]+.[0-9]+' - types: [opened, synchronize] - -jobs: - test: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - name: Installation & Build Package - run: yarn --frozen-lockfile && cd ./examples/NativeMessaging && yarn --frozen-lockfile - - name: Install Java JDK - uses: joschi/setup-jdk@v2 - with: - java-version: '11' - - name: Generate keystore - run: cd ./examples/NativeMessaging/android/app && keytool -genkey -noprompt -dname "CN=automation, OU=RN, O=getstream L=NA, S=NA, C=NA" -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000 - - name: Build - run: yarn detox-native-android:build - - name: Test - uses: reactivecircus/android-emulator-runner@v2 - with: - api-level: 29 - target: google_apis - avd-name: Pixel4 - script: yarn detox-native-android:test diff --git a/.github/workflows/e2e-native-ios.yml b/.github/workflows/e2e-native-ios.yml deleted file mode 100644 index 3ea5e63fa8..0000000000 --- a/.github/workflows/e2e-native-ios.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: e2e-native-ios - -on: - pull_request: - branches: - - develop - - master - - 'v[0-9]+.[0-9]+.[0-9]+' - types: [opened, synchronize] - -jobs: - test: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - name: Installation & Build Package - run: yarn --frozen-lockfile && cd ./examples/NativeMessaging && yarn --frozen-lockfile - - name: Install Pods - run: cd ./examples/NativeMessaging && npx pod-install - - name: Install Detox Dependencies - run: | - brew tap wix/brew - brew install applesimutils - - name: Build - run: yarn detox-native-ios:build - - name: Test - run: yarn detox-native-ios:test diff --git a/.github/workflows/e2e-sample-android.yml b/.github/workflows/e2e-sample-android.yml deleted file mode 100644 index bd1e5b3558..0000000000 --- a/.github/workflows/e2e-sample-android.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: e2e-sample-android - -on: - pull_request: - branches: - - develop - - master - - 'v[0-9]+.[0-9]+.[0-9]+' - types: [opened, synchronize] - -jobs: - test: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - name: Installation & Build Package - # installation already takes care of calling prepare which calls build - # for the sdk package - run: yarn --frozen-lockfile && yarn bootstrap-ci - - name: Install Java JDK - uses: joschi/setup-jdk@v2 - with: - java-version: '11' - - name: Build - run: yarn detox-sample-android:build - - name: Test - uses: reactivecircus/android-emulator-runner@v2 - with: - api-level: 29 - target: google_apis - avd-name: Pixel4 - script: yarn detox-sample-android:test diff --git a/.github/workflows/e2e-sample-ios.yml b/.github/workflows/e2e-sample-ios.yml deleted file mode 100644 index d181f42aaa..0000000000 --- a/.github/workflows/e2e-sample-ios.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: e2e-sample-ios - -on: - pull_request: - branches: - - develop - - master - - 'v[0-9]+.[0-9]+.[0-9]+' - types: [opened, synchronize] - -jobs: - test: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - name: Installation & Build Package - # installation already takes care of calling prepare which calls build - # for the sdk package - run: yarn --frozen-lockfile && yarn bootstrap-ci - - name: Install Pods - run: cd ./examples/SampleApp && npx pod-install - - name: Install Detox Dependencies - run: | - brew tap wix/brew - brew install applesimutils - - name: Build - run: yarn detox-sample-ios:build - - name: Test - run: yarn detox-sample-ios:test