Skip to content

Commit

Permalink
Update path to TestAssemblies to contain target framework
Browse files Browse the repository at this point in the history
  • Loading branch information
Vogel612 committed Oct 5, 2018
1 parent 1123426 commit 32777c7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 32777c7

Please sign in to comment.