File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 16
16
17
17
steps :
18
18
- uses : actions/checkout@v2
19
+
19
20
- name : Install dependencies
20
21
run : pub get
22
+
23
+ - name : Analyze
24
+ run : dartanalyzer --fatal-infos --fatal-warnings ./lib ./test
25
+
26
+ - name : Format code
27
+ run : dartfmt -n ./lib ./test --set-exit-if-changed
28
+
29
+ - name : Active coverage
30
+ run : pub global activate coverage
31
+
21
32
- name : Run tests
22
- run : pub run test
33
+ run : pub run test/rx_redux_test.dart
34
+
35
+ - name : Start VM
36
+ run : dart --disable-service-auth-codes --enable-vm-service=8111 --pause-isolates-on-exit test/rx_redux_test.dart &
37
+
38
+ - name : Collect coverage
39
+ run : nohup pub global run coverage:collect_coverage --port=8111 --out=coverage.json --wait-paused --resume-isolates
40
+
41
+ - name : Format coverage
42
+ run : pub global run coverage:format_coverage --lcov --in=coverage.json --out=lcov.info --packages=.packages --report-on=lib
43
+
44
+ - uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments