Skip to content
New issue

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

How can I publish coverage data (.coverage files) to Azure DevOps Server 2020? #15092

Closed
mwelsh1118 opened this issue Jul 27, 2021 · 12 comments
Closed

Comments

@mwelsh1118
Copy link

Required Information

Type: Question

Enter Task Name: Publish Test Results

Environment

Azure DevOps Server 2020
Private agents hosted on Windows Server 2016

Issue Description

According to the documentation for Publish Test Results:
"You can also use this task in a build pipeline to publish code coverage results produced when running tests to Azure Pipelines or TFS in order to obtain coverage reporting."

I have tested this by running vstest.console.exe with coverage enabled to produce a .trx that references a .coverage file. I then use the Publish Test Results task, pointing to the trx. I see the test results in my build, but below that it still shows the link for "Setup code coverage" indicating the coverage data was not uploaded.

We are particularly interested in code coverage for pull requests. Under the FAQ it mentions:
"This can be used if you publish code coverage using the Visual Studio Test task, the test verb of dotnet core task and the TRX option of the publish test results task."

What is the correct way to publish .coverage files?

I looked at the Publish Code Coverage Results task, but that only accepts JaCoCo or Cobertura results, meaning we would need to translate the .coverage into one of those formats first. Besides, it sounds like that would not work for the pull request functionality we want.

@shailesh-sk
Copy link
Contributor

Adding @suyash691 , @ankit-arora12 and @nadesu for follow up and closure.

@shailesh-sk shailesh-sk assigned nadesu and unassigned shailesh-sk Jul 28, 2021
@ddaymn
Copy link

ddaymn commented Aug 5, 2021

I see the same thing

image

image

Notice no artifacts

@ddaymn
Copy link

ddaymn commented Aug 5, 2021

  • task: VSTest@2
    inputs:
    platform: "${{parameters.buildPlatform}}"
    testSelector: testAssemblies
    testAssemblyVer2: |
    *Tests.dll
    !
    *TestAdapter.dll
    !**\obj**
    configuration: ${{parameters.buildConfiguration}}
    codeCoverageEnabled: true
    vsTestVersion: toolsInstaller

@mwelsh1118
Copy link
Author

I understand the VSTest task will generate code coverage data, but we have a very large codebase and a heavily optimized build process; we can't use the out-of-the-box VSTest task because it is not performant. What we want to do is publish the .trx/.coverage files after we run the tests ourselves. According to the documentation, "Publish Test Results" is the correct task for that.

@ddaymn
Copy link

ddaymn commented Aug 5, 2021

I understand the VSTest task will generate code coverage data, but we have a very large codebase and a heavily optimized build process; we can't use the out-of-the-box VSTest task because it is not performant. What we want to do is publish the .trx/.coverage files after we run the tests ourselves. According to the documentation, "Publish Test Results" is the correct task for that.

Ah I missed that you were talking about the publish test results. But I think it will not work with the vstest task either. I personally have not tried but have you taken a look at https://docs.microsoft.com/en-us/azure/devops/pipelines/test/parallel-testing-vstest?view=azure-devops-2020 to use VSTest?

@mwelsh1118
Copy link
Author

Thanks. We are aware of the parallel testing support, but there are still a few things we do that don't fit this model. For instance, we set up and tear down dedicated databases before running certain tests. We also start testing before our entire codebase is compiled. By starting low-level assembly tests before high-level assemblies are compiled, we get a significant performance boost.

@nadesu
Copy link
Contributor

nadesu commented Dec 1, 2021

@v-pkoneti / @v-vnomula - pls take a look

@v-vnomula
Copy link
Contributor

@mwelsh1118 Please make sure that .coverage and .trx files are present in the same folder so that PublishTestResults task will take care of uploading .coverage file to blob.

@mwelsh1118
Copy link
Author

@v-vnomula We are using xUnit, so we have .xml result files that we upload via PublishTestResults. Are you saying this only works with MS Test/.trx results?

@gioce90
Copy link

gioce90 commented Feb 15, 2022

Hi, I have resolved this using two different pipelines as described here: microsoft/vstest#981 (comment)
In this way I can achieve full and diff coverage. I think is what you are searching for.

@simonachmueller
Copy link

simonachmueller commented Apr 26, 2022

@mwelsh1118 Please make sure that .coverage and .trx files are present in the same folder so that PublishTestResults task will take care of uploading .coverage file to blob.

@v-vnomula Could you please provide an example how to upload .coverage file to the blob? I tried like that:

- task: PublishTestResults@2
  displayName: 'Publish Unit Test Results from VSTest'
  inputs:
    testResultsFormat: 'VSTest'
    testResultsFiles: '*.@(trx|coverage)'
    searchFolder:  $(Agent.TempDirectory)/TestResults
    testRunTitle: 'UnitTestResultVSTest'

And here is the log from that task:

2022-04-26T13:47:01.4704963Z ##[debug]Evaluating condition for step: 'Publish Unit Test Results from VSTest'
2022-04-26T13:47:01.4707193Z ##[debug]Evaluating: SucceededNode()
2022-04-26T13:47:01.4707763Z ##[debug]Evaluating SucceededNode:
2022-04-26T13:47:01.4709039Z ##[debug]=> True
2022-04-26T13:47:01.4709620Z ##[debug]Result: True
2022-04-26T13:47:01.4710108Z ##[section]Starting: Publish Unit Test Results from VSTest
2022-04-26T13:47:01.4869821Z ==============================================================================
2022-04-26T13:47:01.4870194Z Task         : Publish Test Results
2022-04-26T13:47:01.4870471Z Description  : Publish test results to Azure Pipelines
2022-04-26T13:47:01.4870922Z Version      : 2.198.0
2022-04-26T13:47:01.4871157Z Author       : Microsoft Corporation
2022-04-26T13:47:01.4871943Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/test/publish-test-results
2022-04-26T13:47:01.4872432Z ==============================================================================
2022-04-26T13:47:01.5150066Z ##[debug]Using node path: C:\agents\2.202.1\externals\node10\bin\node.exe
2022-04-26T13:47:01.7735413Z ##[debug]agent.TempDirectory=D:\a\_temp
2022-04-26T13:47:01.7770806Z ##[debug]loading inputs and endpoints
2022-04-26T13:47:01.7784232Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2022-04-26T13:47:01.7859092Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2022-04-26T13:47:01.7862990Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2022-04-26T13:47:01.7867206Z ##[debug]loading INPUT_FAILTASKONFAILEDTESTS
2022-04-26T13:47:01.7870281Z ##[debug]loading INPUT_MERGETESTRESULTS
2022-04-26T13:47:01.7873247Z ##[debug]loading INPUT_PUBLISHRUNATTACHMENTS
2022-04-26T13:47:01.7876186Z ##[debug]loading INPUT_SEARCHFOLDER
2022-04-26T13:47:01.7879170Z ##[debug]loading INPUT_TESTRESULTSFILES
2022-04-26T13:47:01.7882783Z ##[debug]loading INPUT_TESTRUNNER
2022-04-26T13:47:01.7885783Z ##[debug]loading INPUT_TESTRUNTITLE
2022-04-26T13:47:01.7894277Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2022-04-26T13:47:01.7907032Z ##[debug]loaded 11
2022-04-26T13:47:01.7915303Z ##[debug]Agent.ProxyUrl=undefined
2022-04-26T13:47:01.7917226Z ##[debug]Agent.CAInfo=undefined
2022-04-26T13:47:01.7918452Z ##[debug]Agent.ClientCert=undefined
2022-04-26T13:47:01.7919543Z ##[debug]Agent.SkipCertValidation=undefined
2022-04-26T13:47:01.8201498Z ##[debug]check path : D:\a\_tasks\PublishTestResults_0b0f01ed-7dde-43ff-9cbb-e48954daf9b1\2.198.0\task.json
2022-04-26T13:47:01.8205107Z ##[debug]adding resource file: D:\a\_tasks\PublishTestResults_0b0f01ed-7dde-43ff-9cbb-e48954daf9b1\2.198.0\task.json
2022-04-26T13:47:01.8205998Z ##[debug]system.culture=en-US
2022-04-26T13:47:01.8230170Z ##[debug]testRunner=VSTest
2022-04-26T13:47:01.8232474Z ##[debug]testResultsFiles=*.@(trx|coverage)
2022-04-26T13:47:01.8235021Z ##[debug]mergeTestResults=false
2022-04-26T13:47:01.8235727Z ##[debug]platform=undefined
2022-04-26T13:47:01.8236285Z ##[debug]configuration=undefined
2022-04-26T13:47:01.8239307Z ##[debug]testRunTitle=UnitTestResultVSTest
2022-04-26T13:47:01.8241018Z ##[debug]publishRunAttachments=true
2022-04-26T13:47:01.8242648Z ##[debug]failTaskOnFailedTests=false
2022-04-26T13:47:01.8243736Z ##[debug]searchFolder=D:\a\_temp/TestResults
2022-04-26T13:47:01.8244725Z ##[debug]testRunner: VSTest
2022-04-26T13:47:01.8248529Z ##[debug]testResultsFiles: *.@(trx|coverage)
2022-04-26T13:47:01.8249718Z ##[debug]mergeResults: false
2022-04-26T13:47:01.8250515Z ##[debug]platform: undefined
2022-04-26T13:47:01.8251068Z ##[debug]config: undefined
2022-04-26T13:47:01.8251640Z ##[debug]testRunTitle: UnitTestResultVSTest
2022-04-26T13:47:01.8252231Z ##[debug]publishRunAttachments: true
2022-04-26T13:47:01.8253242Z ##[debug]failTaskOnFailedTests: false
2022-04-26T13:47:01.8253844Z ##[debug]System.DefaultWorkingDirectory=D:\a\1\s
2022-04-26T13:47:01.8285423Z ##[debug]defaultRoot: 'D:\a\_temp/TestResults'
2022-04-26T13:47:01.8291679Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'true'
2022-04-26T13:47:01.8298833Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2022-04-26T13:47:01.8299773Z ##[debug]findOptions.followSymbolicLinks: 'true'
2022-04-26T13:47:01.8300382Z ##[debug]matchOptions.debug: 'false'
2022-04-26T13:47:01.8300956Z ##[debug]matchOptions.nobrace: 'true'
2022-04-26T13:47:01.8301545Z ##[debug]matchOptions.noglobstar: 'false'
2022-04-26T13:47:01.8302119Z ##[debug]matchOptions.dot: 'true'
2022-04-26T13:47:01.8302675Z ##[debug]matchOptions.noext: 'false'
2022-04-26T13:47:01.8303245Z ##[debug]matchOptions.nocase: 'true'
2022-04-26T13:47:01.8303952Z ##[debug]matchOptions.nonull: 'false'
2022-04-26T13:47:01.8305425Z ##[debug]matchOptions.matchBase: 'false'
2022-04-26T13:47:01.8306033Z ##[debug]matchOptions.nocomment: 'false'
2022-04-26T13:47:01.8306620Z ##[debug]matchOptions.nonegate: 'false'
2022-04-26T13:47:01.8307206Z ##[debug]matchOptions.flipNegate: 'false'
2022-04-26T13:47:01.8307771Z ##[debug]pattern: '*.@(trx|coverage)'
2022-04-26T13:47:01.8343649Z ##[debug]findPath: 'D:\a\_temp\TestResults'
2022-04-26T13:47:01.8344398Z ##[debug]statOnly: 'false'
2022-04-26T13:47:01.8345015Z ##[debug]findPath: 'D:\a\_temp\TestResults'
2022-04-26T13:47:01.8345689Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'true'
2022-04-26T13:47:01.8346385Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2022-04-26T13:47:01.8347217Z ##[debug]findOptions.followSymbolicLinks: 'true'
2022-04-26T13:47:01.8347881Z ##[debug]  D:\a\_temp\TestResults (directory)
2022-04-26T13:47:01.8351157Z ##[debug]  D:\a\_temp\TestResults\30739495-2bcd-4213-9185-8696f94cb93d (directory)
2022-04-26T13:47:01.8358375Z ##[debug]  D:\a\_temp\TestResults\30739495-2bcd-4213-9185-8696f94cb93d\VssAdministrator_WIN-8C4UC5DT83R_2022-04-26.13_46_15.cobertura.xml (file)
2022-04-26T13:47:01.8359827Z ##[debug]  D:\a\_temp\TestResults\Results.coverage (file)
2022-04-26T13:47:01.8361009Z ##[debug]  D:\a\_temp\TestResults\VssAdministrator_WIN-8C4UC5DT83R_2022-04-26_13_46_35 (directory)
2022-04-26T13:47:01.8362235Z ##[debug]  D:\a\_temp\TestResults\VssAdministrator_WIN-8C4UC5DT83R_2022-04-26_13_46_35\In (directory)
2022-04-26T13:47:01.8363333Z ##[debug]  D:\a\_temp\TestResults\VssAdministrator_WIN-8C4UC5DT83R_2022-04-26_13_46_35\In\WIN-8C4UC5DT83R (directory)
2022-04-26T13:47:01.8369132Z ##[debug]  D:\a\_temp\TestResults\VssAdministrator_WIN-8C4UC5DT83R_2022-04-26_13_46_35\In\WIN-8C4UC5DT83R\VssAdministrator_WIN-8C4UC5DT83R_2022-04-26.13_46_15.cobertura.xml (file)
2022-04-26T13:47:01.8370704Z ##[debug]  D:\a\_temp\TestResults\VssAdministrator_WIN-8C4UC5DT83R_2022-04-26_13_46_35.trx (file)
2022-04-26T13:47:01.8371851Z ##[debug]9 results
2022-04-26T13:47:01.8372960Z ##[debug]found 9 paths
2022-04-26T13:47:01.8373966Z ##[debug]applying include pattern
2022-04-26T13:47:01.8375030Z ##[debug]adjustedPattern: 'D:\a\_temp\TestResults\*.@(trx|coverage)'
2022-04-26T13:47:01.8404275Z ##[debug]2 matches
2022-04-26T13:47:01.8430590Z ##[debug]2 final results
2022-04-26T13:47:01.8431848Z ##[debug]Detected 2 test result files
2022-04-26T13:47:01.8432997Z ##[debug]which 'dotnet'
2022-04-26T13:47:01.8468911Z ##[debug]found: 'C:\Program Files\dotnet\dotnet.exe'
2022-04-26T13:47:01.8471553Z ##[debug]which 'C:\Program Files\dotnet\dotnet.exe'
2022-04-26T13:47:01.8475914Z ##[debug]found: 'C:\Program Files\dotnet\dotnet.exe'
2022-04-26T13:47:01.8478537Z ##[debug]C:\Program Files\dotnet\dotnet.exe arg: --version
2022-04-26T13:47:01.8481828Z ##[debug]exec tool: C:\Program Files\dotnet\dotnet.exe
2022-04-26T13:47:01.8483040Z ##[debug]arguments:
2022-04-26T13:47:01.8483998Z ##[debug]   --version
2022-04-26T13:47:01.8510278Z [command]"C:\Program Files\dotnet\dotnet.exe" --version
2022-04-26T13:47:02.0440178Z 6.0.201
2022-04-26T13:47:02.0446766Z ##[debug]PublishTestResults.OverrideExeFlow=undefined
2022-04-26T13:47:02.0447876Z ##[debug]OS type: Windows_NT
2022-04-26T13:47:02.0450689Z ##[debug]which 'D:\a\_tasks\PublishTestResults_0b0f01ed-7dde-43ff-9cbb-e48954daf9b1\2.198.0\modules\TestResultsPublisher.exe'
2022-04-26T13:47:02.0453573Z ##[debug]found: 'D:\a\_tasks\PublishTestResults_0b0f01ed-7dde-43ff-9cbb-e48954daf9b1\2.198.0\modules\TestResultsPublisher.exe'
2022-04-26T13:47:02.0460094Z ##[debug]System.TeamFoundationCollectionUri=https://dev.azure.com/XXX-replaced-XXX/
2022-04-26T13:47:02.0465457Z ##[debug]SystemVssConnection auth param AccessToken = ***
2022-04-26T13:47:02.0466831Z ##[debug]System.TeamProject=codecoverage
2022-04-26T13:47:02.0467939Z ##[debug]System.PullRequest.TargetBranch=refs/heads/main
2022-04-26T13:47:02.0469659Z ##[debug]Build.RequestedFor=Simon Achmueller
2022-04-26T13:47:02.0470777Z ##[debug]Build.BuildId=86
2022-04-26T13:47:02.0472095Z ##[debug]Build.BuildUri=vstfs:///Build/Build/86
2022-04-26T13:47:02.0473321Z ##[debug]Release.ReleaseUri=undefined
2022-04-26T13:47:02.0474380Z ##[debug]Release.EnvironmentUri=undefined
2022-04-26T13:47:02.0475413Z ##[debug]System.PhaseName=Job
2022-04-26T13:47:02.0476417Z ##[debug]System.PhaseAttempt=1
2022-04-26T13:47:02.0477437Z ##[debug]System.StageName=__default
2022-04-26T13:47:02.0478485Z ##[debug]System.StageAttempt=1
2022-04-26T13:47:02.0479503Z ##[debug]System.JobName=__default
2022-04-26T13:47:02.0480511Z ##[debug]System.JobAttempt=1
2022-04-26T13:47:02.0481549Z ##[debug]System.JobIdentifier=Job.__default
2022-04-26T13:47:02.0482744Z ##[debug]Agent.TempDirectory=D:\a\_temp
2022-04-26T13:47:02.0483796Z ##[debug]agent.proxyurl=undefined
2022-04-26T13:47:02.0484832Z ##[debug]agent.proxyusername=undefined
2022-04-26T13:47:02.0485870Z ##[debug]agent.proxypassword=undefined
2022-04-26T13:47:02.0488190Z ##[debug]agent.proxybypasslist=undefined
2022-04-26T13:47:02.0489264Z ##[debug]Agent.TempDirectory=D:\a\_temp
2022-04-26T13:47:02.0629826Z ##[debug]D:\a\_tasks\PublishTestResults_0b0f01ed-7dde-43ff-9cbb-e48954daf9b1\2.198.0\modules\TestResultsPublisher.exe arg: ["@D:\\a\\_temp\\59cbbaf0-c567-11ec-b383-356ad4ba7c9a.txt"]
2022-04-26T13:47:02.0633780Z ##[debug]exec tool: D:\a\_tasks\PublishTestResults_0b0f01ed-7dde-43ff-9cbb-e48954daf9b1\2.198.0\modules\TestResultsPublisher.exe
2022-04-26T13:47:02.0634859Z ##[debug]arguments:
2022-04-26T13:47:02.0635549Z ##[debug]   @D:\a\_temp\59cbbaf0-c567-11ec-b383-356ad4ba7c9a.txt
2022-04-26T13:47:02.0638569Z [command]D:\a\_tasks\PublishTestResults_0b0f01ed-7dde-43ff-9cbb-e48954daf9b1\2.198.0\modules\TestResultsPublisher.exe @D:\a\_temp\59cbbaf0-c567-11ec-b383-356ad4ba7c9a.txt
2022-04-26T13:47:03.9253455Z ##[debug]TestManagement.PublishTestResultsTask.UseTestResultsPublisherExe feature flag is on
2022-04-26T13:47:03.9301217Z ##[debug]Starting: Execute TestResultsPublisher.exe
2022-04-26T13:47:04.6486222Z ##[debug]TestManagement.Server.ParserAndPublisherTelemetryEnabledFF feature flag is on
2022-04-26T13:47:04.9485130Z ##[debug]testRunner: VSTest
2022-04-26T13:47:04.9486407Z ##[debug]owner: Simon Achmueller
2022-04-26T13:47:04.9487398Z ##[debug]platform: 
2022-04-26T13:47:04.9488351Z ##[debug]config: 
2022-04-26T13:47:04.9489426Z ##[debug]buildUri: vstfs:///Build/Build/86
2022-04-26T13:47:04.9491439Z ##[debug]releaseUri: 
2022-04-26T13:47:04.9492578Z ##[debug]releaseEnvironmentUri: 
2022-04-26T13:47:04.9493626Z ##[debug]buildId: 86
2022-04-26T13:47:04.9495355Z ##[debug]testRunTitle: UnitTestResultVSTest
2022-04-26T13:47:04.9496545Z ##[debug]testRunSystem: VSTS - PTR
2022-04-26T13:47:04.9497585Z ##[debug]pullrequesttargetbranch: refs/heads/main
2022-04-26T13:47:04.9498708Z ##[debug]stageName: __default
2022-04-26T13:47:04.9499672Z ##[debug]stageAttempt: 1
2022-04-26T13:47:04.9501596Z ##[debug]phaseName: Job
2022-04-26T13:47:04.9502665Z ##[debug]phaseAttempt: 1
2022-04-26T13:47:04.9503689Z ##[debug]jobName: __default
2022-04-26T13:47:04.9504743Z ##[debug]jobAttempt: 1
2022-04-26T13:47:05.0741782Z ##[debug]TestManagement.PublishTestResultsTask.EnableXUnitHeirarchicalParsing feature flag is on
2022-04-26T13:47:05.0762017Z ##[debug]Object of TrxResultParser created.
2022-04-26T13:47:05.0780127Z ##[debug]Entering ParseTestResultFiles
2022-04-26T13:47:05.0789378Z ##[debug]runContext.Platform is null
2022-04-26T13:47:05.0791216Z ##[debug]runContext.Configuration is null
2022-04-26T13:47:05.0792367Z ##[debug]runContext.ReleaseURI is null
2022-04-26T13:47:05.0793510Z ##[debug]runContext.ReleaseEnvironmentUri is null
2022-04-26T13:47:05.0844016Z ##[debug]Reading test results from file 'D:\a\_temp\TestResults\Results.coverage'.
2022-04-26T13:47:05.1011378Z ##[warning]Failed to parse result files:  Data at the root level is invalid. Line 1, position 1.
2022-04-26T13:47:05.1021972Z ##[debug]Processed: ##vso[task.logissue type=warning;]Failed to parse result files:  Data at the root level is invalid. Line 1, position 1.
2022-04-26T13:47:05.2130070Z ##[debug]Exit code 0 received from tool 'D:\a\_tasks\PublishTestResults_0b0f01ed-7dde-43ff-9cbb-e48954daf9b1\2.198.0\modules\TestResultsPublisher.exe'
2022-04-26T13:47:05.2138483Z ##[debug]STDIO streams have closed for tool 'D:\a\_tasks\PublishTestResults_0b0f01ed-7dde-43ff-9cbb-e48954daf9b1\2.198.0\modules\TestResultsPublisher.exe'
2022-04-26T13:47:05.2152551Z ##[debug]Exit code of TestResultsPublisher: 0
2022-04-26T13:47:05.2153724Z ##[debug]Agent.Version=2.202.1
2022-04-26T13:47:05.2154371Z ##[debug]Agent.TempDirectory=D:\a\_temp
2022-04-26T13:47:05.2158938Z ##[debug]Unable to publish the test run summary to evidencestore, error details:Error: ENOENT: no such file or directory, open 'D:\a\_temp\PTR_TEST_RUNSUMMARY.json'
2022-04-26T13:47:05.2187792Z ##[debug]task result: Succeeded
2022-04-26T13:47:05.2189883Z ##[debug]Processed: ##vso[task.complete result=Succeeded;]
2022-04-26T13:47:05.2191227Z ##[debug]Release.ReleaseUri=undefined
2022-04-26T13:47:05.2192301Z ##[debug]Release.ReleaseId=undefined
2022-04-26T13:47:05.2193647Z ##[debug]Build.BuildUri=vstfs:///Build/Build/86
2022-04-26T13:47:05.2194280Z ##[debug]Build.Buildid=86
2022-04-26T13:47:05.2679361Z ##[debug]Processed: ##vso[telemetry.publish area=TestExecution;feature=PublishTestResultsTask]{"builduri":"vstfs:///Build/Build/86","buildid":"86","osType":"Windows_NT","testRunner":"VSTest","failTaskOnFailedTests":"false","mergeResultsUserPreference":"false","testResultsFilesCount":2,"dotnetVersion":"6.0.201","subFeature":"publishTestResultsTaskConsolidatedCiEvent"}
2022-04-26T13:47:05.2683674Z ##[section]Finishing: Publish Unit Test Results from VSTest

As I can see, it finds and tries to parse .coverage file, which fails the process.
Any idea how to use "the TRX option of the publish test results task"?

@github-actions
Copy link

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants