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

Trivial changes to Codecov config file #6904

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mhucka
Copy link
Contributor

@mhucka mhucka commented Dec 31, 2024

This does 2 things: add some orientation info at the top of the file, and rename the file to .codecov.yaml.

Most of the other config files for things like git, linters, and other things have names that start with a leading .. In addition, the extension .yaml is the officially-recommended one. Although this is a trivial issue, as part of general housekeeping, I propose we rename the file to .codecov.yaml.

Although I can't properly test it, inspecting the Codecov code shows that it will look for the configuration file whether it starts with a period or not, and it will also handle both .yml and .yaml file extensions.

Added a comment at the top with general info about the purpose of this
file. I had to track it down myself, so I figure it's worth adding here
to make it easier to find in the future.
Most of the other config files for things like git, linters, and other
things start with a leading `.`. In addition, the extension `.yaml` is
the [officially-recommended one](https://en.wikipedia.org/wiki/YAML).
Although this is a trivial issue, as part of general housekeeping, I
propose we rename the file to `.codecov.yaml`.

Codecov will look for the configuration file [whether it starts with a
period or
not](https://docs.codecov.com/docs/codecov-yaml#can-i-name-the-file-codecovyml),
and it will also handle [both `.yml` and `.yaml` file
extensions](https://github.com/codecov/codecov-cli/blob/b7033a99068447e5feefaddf2a36af0d45543f43/codecov_cli/helpers/config.py#L22).
@CirqBot CirqBot added the size: S 10< lines changed <50 label Dec 31, 2024
Copy link

codecov bot commented Dec 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.86%. Comparing base (06f12b9) to head (5cf1d1d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6904      +/-   ##
==========================================
- Coverage   97.86%   97.86%   -0.01%     
==========================================
  Files        1084     1084              
  Lines       94225    94225              
==========================================
- Hits        92215    92214       -1     
- Misses       2010     2011       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mhucka mhucka marked this pull request as ready for review December 31, 2024 22:30
@mhucka mhucka requested review from vtomole and a team as code owners December 31, 2024 22:30
@mhucka mhucka requested a review from mpharrigan December 31, 2024 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: S 10< lines changed <50
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants