We are trying to configure the repository to report code coverage, which requires turning off the automatic analysis. However, the branch we’re working on this in reports no code coverage, nor does it even show code files.
An interesting idea. I’ve added a run which uploaded the merged data as well. The frontend has some problems I’ll have to look into, but the backend file appears to be generally fine.
But because you are on a short-lived branch with no code changed to actual code, only workflow files, SonarQube Cloud sees the branch as empty.
I agree this is not a great experience when you’re just trying to set up coverage reporting. IMO, we should always show an “Estimated after merge” figure, instead of the misleading “not enough lines” message.
Hi Colin thanks so much for your help, we’ve managed to get this further down the road and it seems like coverage and scanning is working—just without any comments on our PRs. I tried re-reading the docs, searching (even with your helpful AI assistant) but to no avail.
Glad to hear you made some progress. I’ve taken a look at your project and I admit, your workflow file is quite large and a bit hard to follow all the details