Skip to content

Commit 0fd3975

Browse files
committed
Run code coverage tests in debug for full symbol fidelity
1 parent e2af39f commit 0fd3975

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ after_build:
2222
#before_test:
2323
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
2424
test_script:
25-
- cmd: build.cmd --target=test --use-code-coverage=true
25+
- cmd: build.cmd --target=test --configuration=debug --use-code-coverage=true
2626
on_finish:
2727
- ps: Compress-Archive -Path .\build\testresults -DestinationPath .\build\testresults-all.zip
2828
- ps: Push-AppveyorArtifact .\build\testresults-all.zip -FileName "testresults-all.zip"

build.cake

+1
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ void TestTask(string name, string projectName, Func<bool> criteria = null) {
380380

381381
var testPath = $"./tests/{projectName}/{projectName}.csproj";
382382
var testSettings = new DotNetCoreTestSettings {
383+
Configuration = configuration,
383384
ArgumentCustomization = (args) => args.AppendQuoted($"--logger:trx;LogFileName={logFilePath}")
384385
.Append("--logger:\"console;verbosity=normal;noprogress=true\"")
385386
};

0 commit comments

Comments
 (0)