From aeddccd631b1bcf8c5860279a2fada43fb36d13f Mon Sep 17 00:00:00 2001 From: Michael Ganss Date: Fri, 20 Jul 2018 13:52:31 +0200 Subject: [PATCH] Do debug build for test --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index 4051c6b5..73fbe656 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,6 +17,7 @@ build_script: - dotnet pack --include-symbols --include-source -c Release xscgen - 7z a -mx=9 XmlSchemaClassGenerator.%APPVEYOR_BUILD_VERSION%.zip ".\XmlSchemaClassGenerator.Console\bin\Release\net45\publish\*" test_script: + - dotnet build -c Debug - dotnet tool install --global coverlet.console - coverlet XmlSchemaClassGenerator.Tests\bin\Debug\netcoreapp2.1\XmlSchemaClassGenerator.Tests.dll --target dotnet --targetargs "test XmlSchemaClassGenerator.Tests\XmlSchemaClassGenerator.Tests.csproj --no-build" --format opencover --output ".\coverage.xml" --exclude "[XmlSampleGenerator]*" - pip install codecov