forked from josxha/flutter_map_plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
24 lines (23 loc) · 1.06 KB
/
melos.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: flutter_map_plugins
packages:
- flutter_map_*
- vector_map_tiles_*
- example
scripts:
test:
description: Run tests of all packages
run: melos exec --dir-exists="test"--fail-fast flutter test --no-pub
pub_get:
description: Run `pub get` for all packages
run: melos exec --file-exists="pubspec.yaml" --fail-fast flutter pub get
package_score:
description: Run pana for all packages
run: melos exec --fail-fast --concurrency 1 --no-private pana --exit-code-threshold 0 --no-dartdoc .
test_with_coverage:
description: Run tests of all packages with coverage and merge its results
run: |
melos exec rm -rf coverage
melos exec --dir-exists="test" --fail-fast flutter pub get
melos exec --dir-exists="test" --fail-fast flutter test --no-pub -r expanded --coverage
melos exec -c 1 --file-exists=coverage/lcov.info coverde filter --input ./coverage/lcov.info --output MELOS_ROOT_PATH/coverage/filtered.lcov.info --filters \.g\.dart
coverde value -i coverage/filtered.lcov.info > MELOS_ROOT_PATH/coverage/result.txt