mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
22 lines
512 B
Bash
Executable File
22 lines
512 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
UPLOAD_ARTIFACT="$(pwd)/scripts/upload_artifact.sh"
|
|
trap "$UPLOAD_ARTIFACT" EXIT
|
|
|
|
SCRIPTS_PATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
|
|
|
source $SCRIPTS_PATH/demo-projects.sh
|
|
|
|
# This must be built first as all other demo apps use this binary.
|
|
pushd examples/demo-react-native
|
|
pushd ios
|
|
run_f "pod install"
|
|
popd
|
|
|
|
run_f "yarn build:ios-debug"
|
|
run_f "yarn test:ios-debug"
|
|
|
|
# Run tests with bloated JS bundle:
|
|
source $SCRIPTS_PATH/demo-rn-bloat-bundle-test.sh ios
|
|
popd
|