-
I'm trying to run code coverage with a nix flake devShell and I cannot get it to work. It errors with either https://github.com/tmayoff/wren/actions/runs/11632039595/job/32394326170?pr=43 |
Beta Was this translation helpful? Give feedback.
Answered by
tmayoff
Nov 2, 2024
Replies: 1 comment 5 replies
-
Permission denied sounds like it is somehow nix itself not letting gcovr access the files you want. I would probably ask the nix people how the sandbox works... |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay so this is the solution I've come to with lcov. I'm not sure if it's strictly a nix issue, as I first thought. I think I just rewrote what meson does to generate the coverage information but with the
-ignore-errors source --ignore-errors inconsistent
flags attached, if there's a way to pass those to meson it would be fine