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

Create codecov.yml #80

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
codecov:
status:
flags:
yes: true
Comment on lines +1 to +4
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Review and expand the Codecov configuration

The current configuration appears to be minimal and potentially incorrect:

  1. The purpose of setting flags.yes to true is unclear. Codecov flags are typically used to group coverage reports, not as boolean settings.
  2. This configuration doesn't align with standard Codecov usage. The Codecov documentation doesn't mention a yes flag in this context.

Consider reviewing the Codecov documentation and expanding this configuration with standard Codecov settings. For example:

codecov:
  require_ci_to_pass: yes
  notify:
    wait_for_ci: yes

coverage:
  precision: 2
  round: down
  range: "70...100"

parsers:
  gcov:
    branch_detection:
      conditional: yes
      loop: yes
      method: no
      macro: no

comment:
  layout: "reach,diff,flags,tree"
  behavior: default
  require_changes: no

Would you like assistance in creating a more comprehensive Codecov configuration tailored to your project's needs?