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

Coveralls parser now accepts json-encoded coverage #724

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

Swatinem
Copy link
Contributor

It looks like for some reason, the coverage can also be a string with a json-encoded list. This change handles that case.

Fixes WORKER-PA5, fixes https://github.com/codecov/internal-issues/issues/797

It looks like for some reason, the `coverage` can also be a string with a json-encoded list.
This change handles that case.
@Swatinem Swatinem requested a review from a team September 19, 2024 08:17
@Swatinem Swatinem self-assigned this Sep 19, 2024
@Swatinem Swatinem enabled auto-merge September 19, 2024 08:17
@codecov-notifications
Copy link

codecov-notifications bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #724   +/-   ##
=======================================
  Coverage   98.07%   98.07%           
=======================================
  Files         434      434           
  Lines       36764    36775   +11     
=======================================
+ Hits        36055    36066   +11     
  Misses        709      709           
Flag Coverage Δ
integration 98.07% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.07% <100.00%> (+<0.01%) ⬆️
unit 98.07% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 95.96% <100.00%> (+<0.01%) ⬆️
OutsideTasks 98.09% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
services/report/languages/coveralls.py 100.00% <100.00%> (ø)
...ices/report/languages/tests/unit/test_coveralls.py 100.00% <100.00%> (ø)

@codecov-qa
Copy link

codecov-qa bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.07%. Comparing base (95d0b4a) to head (ed6fa16).
Report is 4 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #724   +/-   ##
=======================================
  Coverage   98.07%   98.07%           
=======================================
  Files         434      434           
  Lines       36764    36775   +11     
=======================================
+ Hits        36055    36066   +11     
  Misses        709      709           
Flag Coverage Δ
integration 98.07% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.07% <100.00%> (+<0.01%) ⬆️
unit 98.07% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 95.96% <100.00%> (+<0.01%) ⬆️
OutsideTasks 98.09% <100.00%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
services/report/languages/coveralls.py 100.00% <100.00%> (ø)
...ices/report/languages/tests/unit/test_coveralls.py 100.00% <100.00%> (ø)

Copy link

codecov bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.11%. Comparing base (95d0b4a) to head (ed6fa16).

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #724   +/-   ##
=======================================
  Coverage   98.11%   98.11%           
=======================================
  Files         475      475           
  Lines       38119    38130   +11     
=======================================
+ Hits        37402    37413   +11     
  Misses        717      717           
Flag Coverage Δ
integration 98.07% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.07% <100.00%> (+<0.01%) ⬆️
unit 98.07% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 96.07% <100.00%> (+<0.01%) ⬆️
OutsideTasks 98.09% <100.00%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
services/report/languages/coveralls.py 100.00% <100.00%> (ø)
...ices/report/languages/tests/unit/test_coveralls.py 100.00% <100.00%> (ø)
Related Entrypoints
run/app.tasks.upload.UploadProcessor

Copy link

codecov-public-qa bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.07%. Comparing base (95d0b4a) to head (ed6fa16).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #724   +/-   ##
=======================================
  Coverage   98.07%   98.07%           
=======================================
  Files         434      434           
  Lines       36764    36775   +11     
=======================================
+ Hits        36055    36066   +11     
  Misses        709      709           
Flag Coverage Δ
integration 98.07% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.07% <100.00%> (+<0.01%) ⬆️
unit 98.07% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 95.96% <100.00%> (+<0.01%) ⬆️
OutsideTasks 98.09% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
services/report/languages/coveralls.py 100.00% <100.00%> (ø)
...ices/report/languages/tests/unit/test_coveralls.py 100.00% <100.00%> (ø)

@Swatinem Swatinem added this pull request to the merge queue Sep 19, 2024
Merged via the queue into main with commit 0522fbb Sep 19, 2024
26 of 27 checks passed
@Swatinem Swatinem deleted the swatinem/coveralls-nested-json branch September 19, 2024 14:02
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