Skip to content

Commit

Permalink
Refactor coverage workflow to filter coverage report for handlers and…
Browse files Browse the repository at this point in the history
… services
  • Loading branch information
mcquenji committed Oct 19, 2024
1 parent 01caf82 commit 9a38a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
dart run coverage:test_with_coverage
# Keep only entries for handlers/.dart files (these are the files actually doing the business logic)
sed -n '/SF:.*\/\(handlers\|services\)\/.*\.dart/,$p' coverage/lcov.info > filtered_lcov.info
sed -n '/SF:.*\/\(handlers\|services\)\//p' coverage/lcov.info > filtered_lcov.info
mv filtered_lcov.info coverage/lcov.info
continue-on-error: true

Expand Down

0 comments on commit 9a38a6f

Please sign in to comment.