Exclude some files from the coverage report

This commit is contained in:
Roland Geider
2025-03-31 12:20:54 +02:00
parent 45d671f4f9
commit 6ce57af131
3 changed files with 7 additions and 59 deletions

View File

@@ -26,13 +26,17 @@ jobs:
- run: flutter --version
- name: Install sqlite3-dev
run: sudo apt install libsqlite3-dev
run: sudo apt install libsqlite3-dev lcov
- name: Install app dependencies
run: flutter pub get
# Removing some folders from the coverage since these files are not really
# part of the app code and just get in the way of the report
- name: Test app
run: flutter test --coverage
run: |
flutter test --coverage
lcov --remove coverage/lcov.info 'lib/l10n/generated/*' 'lib/theme/*'
- name: Coveralls
uses: coverallsapp/github-action@v2