Skip to content

Commit be0ef18

Browse files
codecov test
1 parent 83fe89e commit be0ef18

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/flutter.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,18 @@ jobs:
2626
- name: Install dependencies
2727
run: flutter pub get
2828

29-
- name: Verify Flutter Installation
30-
run: flutter doctor -v
29+
- name: Verify formatting
30+
run: dart format --output=none --set-exit-if-changed .
3131

32+
# Consider passing '--fatal-infos' for slightly stricter analysis.
3233
- name: Analyze project source
33-
run: dart analyze
34+
run: flutter analyze --fatal-infos
35+
working-directory: lib
3436

3537
- name: Run tests
36-
run: flutter test
38+
run: flutter test --coverage
39+
40+
- name: Upload coverage reports to Codecov
41+
uses: codecov/codecov-action@v4.0.1
42+
with:
43+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)