-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate package testing workflow from "main" job (#6745)
- Loading branch information
1 parent
9ae5819
commit b06e254
Showing
3 changed files
with
59 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
|
||
# Copyright 2018 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
# Fast fail the script on failures. | ||
set -ex | ||
|
||
source ./tool/ci/setup.sh | ||
|
||
if [ "$PACKAGE" = "devtools_app_shared" ]; then | ||
|
||
pushd $DEVTOOLS_DIR/packages/devtools_app_shared | ||
echo `pwd` | ||
flutter test test/ | ||
popd | ||
|
||
elif [ "$PACKAGE" = "devtools_extensions" ]; then | ||
|
||
pushd $DEVTOOLS_DIR/packages/devtools_extensions | ||
echo `pwd` | ||
flutter test test/*_test.dart | ||
flutter test test/web --platform chrome | ||
popd | ||
|
||
elif [ "$PACKAGE" = "devtools_shared" ]; then | ||
|
||
pushd $DEVTOOLS_DIR/packages/devtools_shared | ||
echo `pwd` | ||
flutter test test/ | ||
popd | ||
|
||
fi |