-
Notifications
You must be signed in to change notification settings - Fork 77
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
Test Framework #47
Comments
By pre-commit do you mean a commit hook, or in the CI? I'd prefer it if we add this to the CI so that external contributors don't need to share or configure our commit hook setup, but not sure if that's what you meant anyways 🙂 |
Maybe pre-commit isn't the right word. I like to |
Gotcha. That SGTM, as long as we can also enable it in the CI! |
Is there a collection anywhere of PE's that have various flags set we could throw into a |
I've never done CI so I have no idea how it works. Are there certain things to do / not do that make it easier to integrate with CI? |
We could probably fetch some of the SysInternals EXEs and use them for tests, although I'm not sure about licensing. A
Nothing in particular; if the tests can be run with |
I created pegoat to supply PEs for our testing needs. We can either submodule it here or do some kind of artifact management with GitHub Actions to get its build products for testing. |
Submodule would enable people who clone the repo to easily build, contribute, and run tests locally. GitHub Actions would (hopefully) enable more elegant build artifact caching to skip building the examples every time. Doing both would mean updating commit SHAs in two places, which is a bit annoying. Hmmmm. If we had an initial stage, similar to linting, that had build caching turned on, we'd be able to build the examples in the submodule quickly, and it would only be a single place to update the git SHA. Not sure how to deal with |
Add some basic pre-commit testing that runs winchecksec on a few exe's and checks the results.
The text was updated successfully, but these errors were encountered: