bcgov / foi-flow

Freedom of Information modernization
Apache License 2.0
5 stars 3 forks source link

Integrate Code Coverage Into SonarQube #544

Open acoard-aot opened 3 years ago

acoard-aot commented 3 years ago

Title of ticket: Integrate Code Coverage Into SonarQube

Description

SonarQube should include test coverage into

https://docs.sonarqube.org/latest/analysis/coverage/

Dependencies

The unit tests must be runnable and generate coverage reports in a format that SonarQube can read. More can be read here: https://docs.sonarqube.org/latest/analysis/coverage/

Guide: https://www.codewrecks.com/post/github/python-sonarcloud-actions/

DOD

acoard-aot commented 3 years ago

Potential solution: https://github.com/SonarSource/sonarcloud-github-action

Use above to run unit tests, then generate coverage file on every PR.