Skip to content

Commit

Permalink
fix: remove coverage github model to only use lcov
Browse files Browse the repository at this point in the history
  • Loading branch information
brunogabriel committed Oct 18, 2024
1 parent 4a132a4 commit 931fbff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ jobs:

- name: Run tests
run: |
flutter test --coverage --reporter github
# Ensure coverage for all files
lcov --list coverage/lcov.info # To verify before editing lcov
flutter test --coverage
lcov --list coverage/lcov.info
if [ -f coverage/lcov.info ]; then
lcov --add-tracefile coverage/lcov.info --output-file coverage/lcov.info
lcov --remove coverage/lcov.info 'test/*' --output-file coverage/lcov.info
Expand Down

0 comments on commit 931fbff

Please sign in to comment.