Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Add codecov yml configuration #34896

Merged
merged 1 commit into from
Jan 28, 2019
Merged

Conversation

ViktorHofer
Copy link
Member

Adding a codecov.yml file to adjust some settings, most importantly the CI provider setting which is necessary as we will use helix to upload the reports.

https://docs.codecov.io/docs/codecov-yaml

@stephentoub stephentoub merged commit 88d519b into dotnet:master Jan 28, 2019
@ViktorHofer ViktorHofer deleted the CodeCov branch January 28, 2019 14:43
range: 60...90

comment:
layout: "reach, diff, files"
Copy link
Member

Choose a reason for hiding this comment

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

💡 reach is an impediment to mobile browsing and does not really provide a benefit. I recommend omitting files as well, though this can wait until some point in the future when you realize it's not especially helpful 😄

codecov:
branch: master
ci:
- dnceng.visualstudio.com
Copy link
Member

Choose a reason for hiding this comment

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

❔ Can you provide more information about what this does?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure: https://docs.codecov.io/docs/detecting-ci-services#section-detection-technique.

As we upload our reports from helix machines, the codecov's detection technique fails and can't figure out which CI service is used. We ideally should set this variable in the teams codecov yml but I don't permissions to do so: https://docs.codecov.io/docs/codecov-yaml#section-team-yaml

- dnceng.visualstudio.com

coverage:
range: 60...90
Copy link
Member

Choose a reason for hiding this comment

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

❔ Can you describe the motivation behind this range? I always recommend that teams using code coverage tools never gate on a particular coverage number, but I can think of other reasons why this might be included. I'm curious why it's used here.

Copy link
Member Author

Choose a reason for hiding this comment

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

I lowered the lower bound temporarily as our coverage numbers aren't great for most of our libraries. As soon as codecov integration is enabled in corefx I will adjust these settings based on what makes sense.

@karelz karelz added this to the 3.0 milestone Mar 18, 2019
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants