Due: Friday, March 3 at 11:59 pm
Testing! In lecture, we discussed various ways of maintaining the quality of our codebases. This is particularly important in open source, where we’d like to encourage as many people as possible to contribute, but in such a way that the stability of our projects (and sanity of the maintainers!) is maintained. For this homework, we will be setting up static analysis (linting) and testing for our libraries. In particular, you must have the following:
cpplint
and/or clang-format
for C/C++, clippy
and rustfmt
for rust, checkstyle
for java, etcTo setup Dependeabot and CodeQL Scanning, navigate to settings:
Click on Code Security and Analysis
:
Ensure dependabot
is enabled:
Then navigate to Code scanning
and setup CodeQL with defaults:
Double check that your language was detected and click Enable CodeQL