We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi @GoEddie and thanks for your efforts.
There is a fileid attribute on each SequencePoint. https://github.com/OpenCover/opencover/blob/e715910bb52e327ae6df059aeea71dff4b54ee50/main/OpenCover.Framework/Model/SequencePoint.cs#L35
fileid
I'm directly feeding it into the coveralls uploader https://github.com/csMACnz/coveralls.net, without using the reportgenerator.
For now, I use this Powershell snippet as a workaround, to make it working in my TeamCity Build.
[xml]$xmldocument = Get-Content -Path "./SQLCoverResults.xml" Foreach ($class in ($xmldocument.CoverageSession.Modules.Module.Classes.GetElementsByTagName("Class"))) { $fileref = $class.Methods.Method.FileRef.uid foreach ($SequencePoint in $class.Methods.Method.SequencePoints.GetElementsByTagName("SequencePoint")) { $SequencePoint.Setattribute("fileid",$fileRef) } } $xmldocument.Save("./SQLCoverResults_2.xml");`
Not sure if you see this issue more here or in coveralls.net .
Thanks Oli
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi @GoEddie and thanks for your efforts.
There is a
fileid
attribute on each SequencePoint.https://github.com/OpenCover/opencover/blob/e715910bb52e327ae6df059aeea71dff4b54ee50/main/OpenCover.Framework/Model/SequencePoint.cs#L35
I'm directly feeding it into the coveralls uploader https://github.com/csMACnz/coveralls.net, without using the reportgenerator.
For now, I use this Powershell snippet as a workaround, to make it working in my TeamCity Build.
Not sure if you see this issue more here or in coveralls.net .
Thanks Oli
The text was updated successfully, but these errors were encountered: