[go: up one dir, main page]

Addition of Code Quality Analysis to CI

Now that Code Quality Analysis is coming to giltab free tier we can include these tests in our CI pipeline.

This is as simple as adding to gitlab-ci.yaml:

include:
  - template: 'Jobs/Code-Quality.gitlab-ci.yml'

The generated jobs will include the found code quality issues by severity level and the report can be visualized in each merge request (only in gitlab.com) and pipeline page. Note that the results will only be visualized in pragit once we upgraded to version 13.2 (planned for 13/08/20).

See an example here: https://gitlab.com/secml/secml/-/pipelines/173271119/codequality_report

https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information