Skip to content

Commit

Permalink
Apply filtering on frontend lcov
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadrian committed Dec 2, 2024
1 parent 386cf58 commit 436e37b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ jobs:
- name: Tests
run: flutter test --coverage

# - name: Generate Coverage
# run: |
# sudo apt-get install -y lcov
# lcov --remove coverage/lcov.info 'lib/*/*.freezed.dart' 'lib/*.g.dart' 'lib/*/*.part.dart' 'lib/generated/*.dart' 'lib/generated/*/*.dart' -o coverage/lcov.info
- name: Generate Coverage
run: |
sudo apt-get install -y lcov
lcov --ignore-errors unused --remove coverage/lcov.info 'lib/*/*.freezed.dart' 'lib/*.g.dart' 'lib/*/*.part.dart' 'lib/generated/*.dart' 'lib/generated/*/*.dart' -o coverage/lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 436e37b

Please sign in to comment.