We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83fe89e commit be0ef18Copy full SHA for be0ef18
.github/workflows/flutter.yml
@@ -26,11 +26,18 @@ jobs:
26
- name: Install dependencies
27
run: flutter pub get
28
29
- - name: Verify Flutter Installation
30
- run: flutter doctor -v
+ - name: Verify formatting
+ run: dart format --output=none --set-exit-if-changed .
31
32
+ # Consider passing '--fatal-infos' for slightly stricter analysis.
33
- name: Analyze project source
- run: dart analyze
34
+ run: flutter analyze --fatal-infos
35
+ working-directory: lib
36
37
- name: Run tests
- 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