-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpubspec.yaml
More file actions
53 lines (46 loc) · 1.23 KB
/
pubspec.yaml
File metadata and controls
53 lines (46 loc) · 1.23 KB
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
47
48
49
50
51
52
53
name: relic_workspace
publish_to: none
environment:
sdk: ^3.8.0
workspace:
- packages/relic
- packages/relic_core
- packages/relic_io
# Internal support packages (not published)
- packages/benchmark
- packages/examples
- packages/test_utils
dev_dependencies:
melos: 7.4.0-dev.0 # Special support for Dart 3.8 (see https://github.com/invertase/melos/pull/979)
melos:
packages:
- packages/*
scripts:
test:
run: dart test
exec:
concurrency: 1
packageFilters:
flutter: false
dependsOn: test
dirExists: test
description: Run tests in all packages
coverage:
run: >-
dart pub global run coverage:test_with_coverage --branch-coverage
--scope-output=relic
--scope-output=relic_core
--scope-output=relic_io
exec:
concurrency: 1 # for saner output
packageFilters:
flutter: false
dependsOn: test
dirExists: test
description: Run tests with coverage collection for all packages
check:
steps:
- dart analyze --fatal-infos .
- dart format --set-exit-if-changed .
- dart pub run melos run test
description: Run all checks (analyze, format, test)