Skip to content

Commit

Permalink
Run code coverage tests in debug for full symbol fidelity
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebazzz committed Mar 28, 2020
1 parent e2af39f commit 0fd3975
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ after_build:
#before_test:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
test_script:
- cmd: build.cmd --target=test --use-code-coverage=true
- cmd: build.cmd --target=test --configuration=debug --use-code-coverage=true
on_finish:
- ps: Compress-Archive -Path .\build\testresults -DestinationPath .\build\testresults-all.zip
- ps: Push-AppveyorArtifact .\build\testresults-all.zip -FileName "testresults-all.zip"
Expand Down
1 change: 1 addition & 0 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ void TestTask(string name, string projectName, Func<bool> criteria = null) {

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

0 comments on commit 0fd3975

Please sign in to comment.