Files
Detox/scripts/ci.android.sh
Rotem Mizrachi-Meidan f51cbf23d5 RN 0.56.0 Android Support (#910)
* make android green again

* Upgrade to Espresso 3.0.2
Updated native Android dependencies

* Bump test app to RN56
2018-08-30 16:19:41 +03:00

18 lines
496 B
Bash
Executable File

#!/bin/bash -e
source $(dirname "$0")/ci.sh
pushd detox/android
run_f "./gradlew test"
popd
pushd detox/test
# Workaround until react android issue will be fixed - react-native: 0.55
mv node_modules/react-native/ReactAndroid/release.gradle node_modules/react-native/ReactAndroid/release.gradle.bak
cp extras/release.gradle node_modules/react-native/ReactAndroid/
run_f "npm run build:android"
run_f "npm run e2e:android -- --headless --no-color"
run_f "npm run verify-artifacts:android"
popd