* make android green again * Upgrade to Espresso 3.0.2 Updated native Android dependencies * Bump test app to RN56
18 lines
496 B
Bash
Executable File
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
|