r-appveyor | Tools for using R with AppVeyor | Build Tool library
kandi X-RAY | r-appveyor Summary
kandi X-RAY | r-appveyor Summary
Tools for using R with AppVeyor (
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of r-appveyor
r-appveyor Key Features
r-appveyor Examples and Code Snippets
Community Discussions
Trending Discussions on r-appveyor
QUESTION
I created an AppVeyor Build Script that uses OpenCover and Coveralls.Net to run my xUnit tests and publish the code coverage to Coveralls.io.
But when I have failing tests - AppVeyor reports the build successful. How do I configure AppVeyor to fail if OpenCover + xUnit report failing tests?
The script is based on csMACnz's sample:
...ANSWER
Answered 2018-Feb-08 at 23:11I think the reason is simple. Following how you wrote the YML file, AppVeyor expects the whole test_script
to provide a non-zero return code, while a failure inside the PowerShell script section you left won't lead to such a case.
You have to run each commands separately, and then any failure will fail the whole build, as my AppVeyor script shows
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install r-appveyor
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page