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