Skip to content

Conversation

@aidinio
Copy link
Contributor

@aidinio aidinio commented Feb 19, 2025

Added a shape that can have a different radius on each corner.

@codecov
Copy link

codecov bot commented Feb 19, 2025

Codecov Report

❌ Patch coverage is 78.57143% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.40%. Comparing base (9475bb9) to head (73e98f4).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
lib/gears/shape.lua 71.42% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3991      +/-   ##
==========================================
- Coverage   90.41%   90.40%   -0.01%     
==========================================
  Files         938      939       +1     
  Lines       60232    60260      +28     
  Branches     1139     1139              
==========================================
+ Hits        54457    54478      +21     
- Misses       5269     5276       +7     
  Partials      506      506              
Files with missing lines Coverage Δ
...examples/gears/shape/individually_rounded_rect.lua 100.00% <100.00%> (ø)
lib/gears/shape.lua 96.47% <71.42%> (-1.40%) ⬇️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aidinio
Copy link
Contributor Author

aidinio commented Feb 19, 2025

I'm not sure why the test failed.

@aidinio aidinio requested a review from sclu1034 February 20, 2025 07:33
@sclu1034
Copy link
Contributor

I'm not sure why the test failed.

Codecov fails because none of your lines are covered by tests and you end up below the target. That's another thing documentation examples are used for: they also feed into the testing framework.

@aidinio
Copy link
Contributor Author

aidinio commented Feb 21, 2025

I'm not sure why the test failed.

Codecov fails because none of your lines are covered by tests and you end up below the target. That's another thing documentation examples are used for: they also feed into the testing framework.

Thanks for the help. I also added tests.

@aidinio
Copy link
Contributor Author

aidinio commented May 17, 2025

@Aire-One Hi! Aren't there any other reviewers to approve my PR?

@Aire-One
Copy link
Member

Hi @aidinio, sadly most other maintainers are AWOL for some time now... Let's try to ping @awesomeWM/write-access

Copy link
Member

@actionless actionless left a comment

Choose a reason for hiding this comment

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

but coverage is not enough: #3991 (comment)

@aidinio
Copy link
Contributor Author

aidinio commented May 18, 2025

but coverage is not enough: #3991 (comment)

I've already added tests which resolve the coverage issue.

Copy link
Member

@actionless actionless left a comment

Choose a reason for hiding this comment

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

yeah, codecov stuck on previous commit: https://app.codecov.io/gh/awesomeWM/awesome/pull/3991/commits

@aidinio
Copy link
Contributor Author

aidinio commented May 27, 2025

yeah, codecov stuck on previous commit: https://app.codecov.io/gh/awesomeWM/awesome/pull/3991/commits

Can I somehow restart the codecov check? It's stuck on "Waiting for status to be reported".

@actionless
Copy link
Member

no, as CI currently broken: #3994

@actionless
Copy link
Member

now it's finally fixed, so you could rebase 👌😸

@aidinio
Copy link
Contributor Author

aidinio commented Oct 7, 2025

now it's finally fixed, so you could rebase 👌😸

Thanks!

@Aire-One
Copy link
Member

@Mergifyio rebase

@mergify
Copy link
Contributor

mergify bot commented Dec 21, 2025

rebase

✅ Branch has been successfully rebased


--- A rounded rect with individually defined corner radii.
--
-- @DOC_gears_shape_individually_rounded_rect_EXAMPLE@
Copy link
Member

Choose a reason for hiding this comment

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

it seems example is not being imported correctly: https://app.codecov.io/github/awesomeWM/awesome/commit/007e444a525ff9a90b015341a9ea0fe216ae5dd4

can you see it in generated docs?

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I had the same feeling. #4043 should fix the coverage!

Copy link
Member

Choose a reason for hiding this comment

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

thanks @Aire-One ! now the coverage report shows it correctly which more tests @aidinio would need to add

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.

4 participants