We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a1737e commit be670efCopy full SHA for be670ef
.github/workflows/dart.yml
@@ -42,4 +42,13 @@ jobs:
42
# package:test for this step to succeed. Note that Flutter projects will
43
# want to change this to 'flutter test'.
44
- name: Run tests
45
- run: dart test
+ run: dart test --coverage="coverage"
46
+
47
+ - name: Prepare coverage
48
+ run: pub run coverage:format_coverage --lcov --in=coverage --out=lcov.info --packages=.packages --report-on=lib
49
50
+ - name: Upload coverage
51
+ uses: coverallsapp/github-action@v1.1.2
52
+ with:
53
+ github-token: ${{ secrets.GITHUB_TOKEN }}
54
+ path-to-lcov: lcov.info
0 commit comments