canonical / chisel

GNU Affero General Public License v3.0
248 stars 39 forks source link

ci: integration with TiCS code quality analysis #138

Open cjdcordeiro opened 1 month ago

cjdcordeiro commented 1 month ago

This PR introduces the TiCS analyzer with the Chisel CI.

How it works

On every PR

TiCS job will run in "client" mode, analyzing the changed files in the PR. As a result, it will create code annotations and write a comment to the PR with a summary of the analysis. Example: https://github.com/cjdcordeiro/chisel/pull/3#issuecomment-2162543160

On-demand and on-schedule

At least once a day, this job will also run in "qserver" mode, meaning that it will do a full analysis of the Chisel project and send the results to our remote dashboard in Tiobe. Here's an example of such run: https://github.com/cjdcordeiro/chisel/actions/runs/9480198560 (and the corresponding view in the dashboard)

cjdcordeiro commented 1 month ago

@letFunny are the annotations in https://github.com/cjdcordeiro/chisel/actions/runs/9480198560 legit? The coverage issue we saw a few days ago has been fixed (the tool requires a pre-existing coverage report).