This repo contains a script for running iOS tests on a kokoro instance.
An example script making use of the xcodebuild kokoro iOS runner:
#!/bin/bash
# Fail on any error.
set -e
if [ ! -d .kokoro-ios-runner ]; then
git clone https://github.com/material-foundation/kokoro-ios-runner.git .kokoro-ios-runner
fi
pushd .kokoro-ios-runner
git fetch
git checkout v4.3.0
popd
./.kokoro-ios-runner/xcodebuild.sh "MotionInterchange/MotionInterchange.xcodeproj" MotionInterchange "iPhone SE"
bash <(curl -s https://codecov.io/bash)
An example script making use of the bazel kokoro iOS runner:
#!/bin/bash
# Fail on any error.
set -e
if [ ! -d .kokoro-ios-runner ]; then
git clone https://github.com/material-foundation/kokoro-ios-runner.git .kokoro-ios-runner
fi
pushd .kokoro-ios-runner
git fetch
git checkout v4.3.0
popd
./.kokoro-ios-runner/bazel.sh test //:CatalogByConventionTests --min-xcode-version 8.0.0