-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed as duplicate of#3357
Labels
Description
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
1.3.5-nightly
What version of Foundryup are you on?
No response
What command(s) is the bug in?
forge coverage --report lcov --ir-minimum
Operating System
Linux
Describe the bug
Our CI runs solidity-coverage and foundry coverage. Both outputs are passed to app.codecov.io.
I've noticed that tests that are only covered by foundry are not reported properly. Lines that are obviously covered are not reported as such. This ends up giving low coverage numbers that block merging our PRs.
See example of code bellow:
return
andassembly ("memory-safe") {
lines are marked as not-covered.


Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done