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

We should add commit hook for linting, formatting, and testing #2

Open
lovebaihezi opened this issue Mar 27, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@lovebaihezi
Copy link
Collaborator

Intro

We need to run clang-format, CPP Check, infer, and each function testing and Fuzzing after every commit push to whatever branch

Infer here means the meta infer, which is the static analysis tool for Meta, from their official documents, it can discover thousands of serious issues and bugs before delivery to users.

According to a paper published on PLDI 2021, the current state-of-the-art race detection is the RacerD, part of the Infer project.

How to

The open-source project won't force developers to install specific tools for such work, so we should use GitHub Action to run linting and CVE checking.

We can currently use some self-host runners to build the project and run testing in the promised time.

More Information will be added later.

@bokket bokket added the enhancement New feature or request label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants