mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Use dart test (#1711)
This commit is contained in:
@@ -20,7 +20,12 @@ function ci_projects () {
|
|||||||
# Run the actual tests.
|
# Run the actual tests.
|
||||||
if [ -d "test" ]
|
if [ -d "test" ]
|
||||||
then
|
then
|
||||||
|
if grep -q "flutter:" "pubspec.yaml"; then
|
||||||
flutter test
|
flutter test
|
||||||
|
else
|
||||||
|
# If the project is not a Flutter project, use the Dart CLI.
|
||||||
|
dart test
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|||||||
Reference in New Issue
Block a user