Skip to content

Commit b71cba5

Browse files
authored
fix AV passing with failing tests
Also reinstates the ignoring of *.yml files for changes
1 parent 324a3af commit b71cba5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

appveyor.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ skip_commits:
1414
files:
1515
- docs/*
1616
- '**/*.md'
17-
#- '**/*.yml'
17+
- '**/*.yml'
1818
- license
1919
- License.rtf
2020
branches:
@@ -49,11 +49,14 @@ build:
4949
verbosity: minimal
5050

5151
test_script:
52-
- OpenCover.Console.exe -register:user -target:"nunit3-console.exe" -targetargs:".\RubberduckTests\bin\Release\RubberduckTests.dll" -output:".\Rubberduck_Coverage.xml"
53-
- codecov -f "Rubberduck_Coverage.xml"
52+
# we use -returntargetcode to fail the build if tests fail
53+
- OpenCover.Console.exe -register:user -returntargetcode -target:"nunit3-console.exe" -targetargs:".\RubberduckTests\bin\Release\RubberduckTests.dll" -output:".\Rubberduck_Coverage.xml"
54+
55+
after_test:
56+
- codecov -f "Rubberduck_Coverage.xml"
5457

5558
before_package:
56-
- copy Rubberduck.Inspections\bin\Release\Rubberduck.Inspections.dll RetailCoder.VBE\bin\Release\Rubberduck.Inspections.dll
59+
- copy Rubberduck.Inspections\bin\Release\Rubberduck.Inspections.dll RetailCoder.VBE\bin\Release\Rubberduck.Inspections.dll
5760

5861
for:
5962
- branches:

0 commit comments

Comments
 (0)