File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-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
+
20
+ - name : Analyze
21
+ run : dartanalyzer --fatal-infos --fatal-warnings ./lib ./test
22
+
23
+ - name : Format code
24
+ run : dartfmt -n ./lib ./test --set-exit-if-changed
25
+
19
26
- name : Install dependencies
20
27
run : pub get
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 : TODO
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
+ - name : Upload to codecov.io
45
+ run : bash <(curl -s https://codecov.io/bash)
You can’t perform that action at this time.
0 commit comments