More coverage (#905)

* Exclude translation files from coverage

* added unit test
This commit is contained in:
Oliver authored and GitHub committed 2026-11-03 07:35:50 +11:00
1 parent 65cac7218f
commit db4569ff52
9 files changed
+1779 -1

No files matched your search

+6
View File
@@ -84,6 +84,12 @@ jobs:
run: |
fvm flutter test --coverage
# Generated translation files are not exercised by tests, and swamp the coverage report
- name: Exclude Translation Files from Coverage
run: |
awk '/^SF:/ { skip = ($0 ~ /lib\/l10n\//) } !skip; /^end_of_record/ { skip = 0 }' coverage/lcov.info > coverage/lcov.filtered.info
mv coverage/lcov.filtered.info coverage/lcov.info
- name: Coveralls
uses: coverallsapp/github-action@master
with: