-
Notifications
You must be signed in to change notification settings - Fork 59
/
melos.yaml
46 lines (39 loc) · 1.15 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: flutterfire_dart
packages:
- packages/**
- tests/*
scripts:
lint:all:
run: melos run analyze && melos run format
description: Run all static analysis checks
analyze:
run: |
melos exec -c 1 -- \
dart analyze . --fatal-infos
description: |
Run `dart analyze` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.
format: dart format -o write .
test:
description: Run tests in a specific package.
run: melos exec --concurrency=1 -- "flutter test --no-pub --reporter expanded"
select-package:
dir-exists:
- 'test/'
test:e2e:
run: |
melos exec -c 1 --fail-fast -- \
"flutter drive --no-pub --target=./test_driver/driver_e2e.dart"
description: |
Run all e2e tests.
select-package:
dir-exists:
- test_driver
scope: '*tests*'
firebase:emulator:
run: |
cd .github/workflows/scripts && ./start-firebase-emulator.sh
description: |
Start the Firebase emulator suite. Used by Functions, Firestore, Auth and Storage
integration testing.
- Requires Node.js and NPM installed.