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

add rustfmt to codecov & exclude fuzz from workspace #414

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davidkern
Copy link
Contributor

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.

@jeertmans
Copy link
Collaborator

Hi @davidkern, thanks for your PR! I currently don't have enough time to review this PR, but I'll take a look at when possible :-)

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