From 62c29575ae08255d3a6e197fee9f575172c044eb Mon Sep 17 00:00:00 2001 From: leynier Date: Sun, 30 May 2021 11:40:42 -0400 Subject: [PATCH] ci: improve melos.yaml test script with format and analyze commands --- melos.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/melos.yaml b/melos.yaml index ad91573..108922a 100644 --- a/melos.yaml +++ b/melos.yaml @@ -8,7 +8,7 @@ scripts: run: melos exec -c 1 "flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs" test: - run: melos exec -c 1 "flutter test" + run: melos exec -c 1 "flutter format . --set-exit-if-changed && flutter analyze && flutter test" environment: sdk: '>=2.12.0 <3.0.0'