Skip to content

Commit

Permalink
ci: improve melos.yaml test script with format and analyze commands
Browse files Browse the repository at this point in the history
  • Loading branch information
leynier committed May 30, 2021
1 parent 75c84ed commit 62c2957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 62c2957

Please sign in to comment.