Adds analyzer and formatter to smoke tests. (#29)

pull/32/head
Andrew Brogdon 6 years ago committed by GitHub
parent 811b5d245a
commit c823766300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,7 +10,16 @@ for PROJECT_NAME in "${PROJECT_NAMES[@]}"
do
echo "== Testing '${PROJECT_NAME}' on Flutter's $FLUTTER_VERSION channel =="
pushd "${PROJECT_NAME}"
# Run the analyzer to find any static analysis issues.
../flutter/bin/flutter analyze
# Run the formatter on all the dart files to make sure everything's linted.
find . | grep "\.dart$" | xargs ../flutter/bin/flutter format -n
# Run the actual tests.
../flutter/bin/flutter test
popd
done

Loading…
Cancel
Save