Skip to content

Commit 4fe7220

Browse files
committed
Merge branch 'master' of https://github.com/hoc081098/rx_redux into null_safety
2 parents dd4c085 + 71e2036 commit 4fe7220

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.github/workflows/dart.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,29 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19+
1920
- name: Install dependencies
2021
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+
2132
- 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

0 commit comments

Comments
 (0)