Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: log coverage when is a valid build #189

Conversation

jamesblasco
Copy link
Contributor

Description

Adds log message displaying coverage when this is above the min coverage.

If coverage is 100% it will be displayed like:

    Coverage: 100%.

If coverage is below 100% but still above min_coverage, it will be displayed as:

    Coverage: 95%.
    Coverage is more than min_coverage 80.
    
    Lines not covered:
      - /Users/felix/Development/github.com/felangel/bloc/packages/bloc/lib/src/bloc_observer.dart: 20, 27, 36, 43, 51

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

index.js Outdated Show resolved Hide resolved
index.test.js Outdated Show resolved Hide resolved
@felangel felangel merged commit e7f28f5 into VeryGoodOpenSource:main Nov 14, 2022
@felangel felangel linked an issue Nov 14, 2022 that may be closed by this pull request
@github-actions github-actions bot added the feature A new feature or request label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display current coverage percentage *Always*
2 participants