I'm trying to run benchmarks created with BenchmarkDotNet within Azure DevOps pipeline. Here is a build where I have problems. Take a look at Run benchmarks step. As you can see all tests with benchmarks are passed but actually none benchmark executed. Message from log:
// BeforeAnythingElse
ExitCode != 0
If I add InProcess
attribute to classes with benchmarks then benchmarks will be executed. But some of my benchmarks are long running so they are interrupted by BenchmarkDotNet with recommendation to use out-of-process benchmarks.
How can I run out-of-process benchmarks within Azure pipelines?