[ci] Split android-platform_tests in 2 shards (#2577)

This commit is contained in:
David Iglesias
2022-09-08 15:51:10 -07:00
committed by GitHub
parent ba3a5202ba
commit 6df723ca4c
2 changed files with 8 additions and 2 deletions

View File

@ -8,6 +8,9 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
REPO_DIR="$(dirname "$SCRIPT_DIR")"
# The tool expects to be run from the repo root.
# PACKAGE_SHARDING is (optionally) set from Cirrus. See .cirrus.yml
cd "$REPO_DIR"
dart pub global run flutter_plugin_tools "$@" --packages-for-branch \
--log-timing $BUILD_SHARDING
dart pub global run flutter_plugin_tools "$@" \
--packages-for-branch \
--log-timing \
$PACKAGE_SHARDING