Skip to content

Commit 40a917b

Browse files
committed
fix coverage workflow
1 parent 45e8af7 commit 40a917b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/coverage.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,23 @@ jobs:
2020
uses: dart-lang/setup-dart@v1.6.0
2121
with:
2222
sdk: "stable"
23+
- name: Setup Flutter
24+
uses: subosito/flutter-action@v2
25+
with:
26+
flutter-version: "3.16.0"
2327

2428
- name: Install Melos
2529
run: dart pub global activate melos
2630

2731
- name: Install dependencies
2832
run: melos bootstrap
2933

34+
- name: Run unit tests
35+
run: melos run unit_test
36+
37+
- name: Create coverage directory
38+
run: mkdir -p coverage
39+
3040
- name: Merge coverage
3141
run: |
3242
melos exec rm -rf coverage
@@ -38,3 +48,4 @@ jobs:
3848
uses: codecov/codecov-action@v3
3949
with:
4050
token: ${{ secrets.CODECOV_TOKEN }}
51+
files: coverage/filtered.lcov.info

0 commit comments

Comments
 (0)