No Code Coverage using monorepo

I setup my repository as a monorepo and my pipeline is sending the required artifacts but no code coverage information is show in DeepSource


version = 1

test_patterns = [
“**/*.test*/**”
]

[[analyzers]]
name = “csharp”
enabled = true

[[analyzers]]
name = “test-coverage”
enabled = true

The log from the deepsource cli:

DeepSource | Artifact published successfully 

 

Analyzer  test-coverage 

Key       csharp 

Message   Artifact successfully uploaded for repository <monorepo>:<subrepo> on commit 09bbf4bead4*************0c870d098cc9a95a91. 

DeepSource | Artifact published successfully 

Analyzer  test-coverage 

Key       csharp 

Message   Artifact successfully uploaded for repository <monorepo>:<subrepo> on commit 09bbf4bead4**********10c870d098cc9a95a91. 

Hey @rmomm
Can you please verify that your CI isn’t making a merge commit?
You can match the commit OID shown in the cli logs against the one from your VCS.
(Ref, in case you’re using GitHub actions)

Thanks @srijan , got it working

1 Like