Skip to content

TST: fail Azure CI if test failures#13253

Merged
charris merged 1 commit intonumpy:masterfrom
tylerjereddy:azure_hard_fail_after_test_pub
Apr 2, 2019
Merged

TST: fail Azure CI if test failures#13253
charris merged 1 commit intonumpy:masterfrom
tylerjereddy:azure_hard_fail_after_test_pub

Conversation

@tylerjereddy
Copy link
Copy Markdown
Contributor

For comment / note here from Chuck: #13245 (comment)

Note that a nice summary of the failed tests is showing up in that PR now, but the problem is that Azure shows green instead of red as final result.

We need to set failTaskOnFailedTests to true for Azure CI Publish stage to fail when one or more unit tests fail, so we get both the nice summary of failed tests, and a red "x" if there is a failure detected after publishing.

I didn't actually change that setting in #13217, it was already the default, but because we no longer hard fail CI when the tests fail, we do need to hard fail after publishing if a failure is detected.

If a reviewer wants to be thorough they can intentionally introduce / remove a failure here for behavioural assessment on Azure.

* fail Azure CI after test publication
when there are test failures
@charris charris merged commit 9eb9c35 into numpy:master Apr 2, 2019
@charris
Copy link
Copy Markdown
Member

charris commented Apr 2, 2019

Let's see what this one does :) Thanks Tyler.

@charris
Copy link
Copy Markdown
Member

charris commented Apr 3, 2019

@tylerjereddy tylerjereddy deleted the azure_hard_fail_after_test_pub branch April 3, 2019 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants