diff --git a/melos.yaml b/melos.yaml index 5d814ff0..e854b4a8 100644 --- a/melos.yaml +++ b/melos.yaml @@ -21,8 +21,7 @@ scripts: analyze: run: | - melos exec -c 10 -- \ - flutter analyze --fatal-infos + melos exec -c 1 -- flutter analyze --fatal-infos description: Run `flutter analyze` for all packages. format: @@ -38,18 +37,29 @@ scripts: description: Clean things very deeply with `git clean`. test:selective_unit_test: - run: melos exec --dir-exists="test" -- flutter test --no-pub --coverage + run: melos exec -- flutter test --no-pub --coverage description: Run Flutter tests for a specific package in this project. select-package: flutter: true + dir-exists: + - test + ignore: + - '*example*' - test: + test:all: run: melos run test:selective_unit_test --no-select description: Run all Flutter tests in this project. gen-coverage: melos exec -- sh "\$MELOS_ROOT_PATH/combine_coverage.sh" && genhtml coverage/lcov.info -o coverage/html gen-class-models: melos exec --scope="*wyatt_*" -- dart pub global run dcdg -o models/class-models.puml + + qualitycheck: + run: | + melos clean && \ + melos bootstrap && \ + melos run test:all + description: Run all targets generally expected in CI for a full local quality check. # Additional cleanup lifecycle script, executed when `melos clean` is run. postclean: >