From 32777c70fd2510f5d944d793a4c5e8a1374b417d Mon Sep 17 00:00:00 2001 From: Vogel612 Date: Sat, 6 Oct 2018 01:36:08 +0200 Subject: [PATCH] Update path to TestAssemblies to contain target framework --- appveyor.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 51cfc05b5c..432fa59567 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -50,10 +50,12 @@ build: verbosity: minimal project: Rubberduck.sln +# TestScript depends on the build matrix to only contain Release cpu +# Otherwise we might run tests against artifacts that do not exist test_script: # we use -returntargetcode to fail the build if tests fail - - OpenCover.Console.exe -register:user -returntargetcode -target:"nunit3-console.exe" -targetargs:".\RubberduckTests\bin\Release\RubberduckTests.dll" -output:".\Rubberduck_Coverage.xml" - - OpenCover.Console.exe -register:user -returntargetcode -target:"nunit3-console.exe" -targetargs:".\RubberduckTestsCodeAnalysis\bin\Release\RubberduckTestsCodeAnalysis.dll" -output:".\RubberduckCodeAnalysis_Coverage.xml" + - OpenCover.Console.exe -register:user -returntargetcode -target:"nunit3-console.exe" -targetargs:".\RubberduckTests\bin\Release\net46\RubberduckTests.dll" -output:".\Rubberduck_Coverage.xml" + - OpenCover.Console.exe -register:user -returntargetcode -target:"nunit3-console.exe" -targetargs:".\RubberduckTestsCodeAnalysis\bin\Release\net46\RubberduckTestsCodeAnalysis.dll" -output:".\RubberduckCodeAnalysis_Coverage.xml" # when using test_script, after_test seems to not be executed - codecov -f "Rubberduck_Coverage.xml"