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

Add back previous cobertura behaviour and put newer behaviour behind config option #155

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

joseph-sentry
Copy link
Contributor

@joseph-sentry joseph-sentry commented Oct 23, 2023

This PR is taking the changes in #118, and putting them behind a config option in the codecov.yml specifically

parsers:
  cobertura:
    handle_missing_conditions: bool # default False

Depends on: codecov/shared#67

@joseph-sentry joseph-sentry force-pushed the joseph/handle-previous-cobertura-behaviour branch from 29ec21d to 8b23b2b Compare October 23, 2023 17:08
@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

Merging #155 (6527f66) into main (c3f93c4) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
- Coverage   98.39%   98.38%   -0.01%     
==========================================
  Files         374      374              
  Lines       27897    27917      +20     
==========================================
+ Hits        27448    27467      +19     
- Misses        449      450       +1     
Flag Coverage Δ
integration 98.42% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 98.42% <100.00%> (-0.01%) ⬇️
unit 98.42% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 96.85% <100.00%> (-0.01%) ⬇️
OutsideTasks 98.22% <100.00%> (-0.01%) ⬇️
Files Coverage Δ
services/report/languages/cobertura.py 96.11% <100.00%> (-0.89%) ⬇️
...ices/report/languages/tests/unit/test_cobertura.py 100.00% <100.00%> (ø)
Related Entrypoints
run/app.tasks.profiling.normalizer
run/app.tasks.upload.UploadProcessor

@codecov-qa
Copy link

codecov-qa bot commented Oct 23, 2023

Codecov Report

Merging #155 (6527f66) into main (c3f93c4) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
- Coverage   98.43%   98.42%   -0.01%     
==========================================
  Files         348      348              
  Lines       27401    27421      +20     
==========================================
+ Hits        26971    26990      +19     
- Misses        430      431       +1     
Flag Coverage Δ
integration 98.42% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 98.42% <100.00%> (-0.01%) ⬇️
unit 98.42% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 96.96% <100.00%> (-0.01%) ⬇️
OutsideTasks 98.22% <100.00%> (-0.01%) ⬇️
Files Coverage Δ
services/report/languages/cobertura.py 96.11% <100.00%> (-0.89%) ⬇️
...ices/report/languages/tests/unit/test_cobertura.py 100.00% <100.00%> (ø)

@codecov-public-qa
Copy link

codecov-public-qa bot commented Oct 23, 2023

Codecov Report

Merging #155 (6527f66) into main (c3f93c4) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
- Coverage   98.43%   98.42%   -0.01%     
==========================================
  Files         348      348              
  Lines       27401    27421      +20     
==========================================
+ Hits        26971    26990      +19     
- Misses        430      431       +1     
Flag Coverage Δ
integration 98.42% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 98.42% <100.00%> (-0.01%) ⬇️
unit 98.42% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 96.96% <100.00%> (-0.01%) ⬇️
OutsideTasks 98.22% <100.00%> (-0.01%) ⬇️
Files Coverage Δ
services/report/languages/cobertura.py 96.11% <100.00%> (-0.89%) ⬇️
...ices/report/languages/tests/unit/test_cobertura.py 100.00% <100.00%> (ø)

@joseph-sentry joseph-sentry marked this pull request as ready for review October 23, 2023 17:19
@joseph-sentry joseph-sentry marked this pull request as draft October 23, 2023 17:42
@joseph-sentry joseph-sentry force-pushed the joseph/handle-previous-cobertura-behaviour branch from 8b23b2b to 6527f66 Compare October 24, 2023 15:10
@joseph-sentry joseph-sentry marked this pull request as ready for review October 24, 2023 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants