File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 35
35
- name : Analyze project source
36
36
run : dart analyze
37
37
38
- # Your project will need to have tests in test/ and a dependency on
39
- # package:test for this step to succeed. Note that Flutter projects will
40
- # want to change this to 'flutter test'.
38
+ # Run Dart tests and output them at directory `./coverage`:
41
39
- name : Run tests
42
- run : dart test
40
+ run : dart test --coverage=./coverage
41
+
42
+ # Activate package `coverage`
43
+ - name : Activate package coverage
44
+ run : dart pub global activate coverage
45
+
46
+ # Format collected coverage to LCOV
47
+ - name : Format collected coverage to LCOV
48
+ run : dart pub global run coverage:format_coverage --packages=.dart_tool/package_config.json --report-on=lib --lcov -o ./coverage/lcov.info -i ./coverage
49
+
50
+ # Run Codecov
51
+ - name : Codecov
52
+
You can’t perform that action at this time.
0 commit comments