logos icon indicating copy to clipboard operation
logos copied to clipboard

add rustfmt to codecov & exclude fuzz from workspace

Open davidkern opened this issue 6 months ago • 1 comments

While adding tests for the safe-only code PR, I noticed that the code coverage action hasn't been able to complete successfully for a while.

Originally this was caused by rustfmt not being available in the container. So this installs it before running coverage.

Additionally, the new fuzz crate was interacting poorly with the other projects in the workspace, causing link errors for both the coverage action and when running cargo build --workspace. This is because afl crates must be built with cargo afl build so they can link properly. Excluding the fuzz crate from the workspace fixes both issues and also makes sure the fuzzing exports aren't inadvertently enabled on the codegen crate outside of running a fuzz.

davidkern avatar Aug 20 '24 00:08 davidkern