CI Remove pytest maxfail argument #28584
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
--maxfail
was added in #27910 (comment). The main argument for it was:Personally in most cases I find it convenient to get all the failures from the CI, so I can then work on them locally without having to run the full test suite.
In scipy-dev, for example, it can happen quite quickly that you go over 10 failures and I want the tracking issue to list all of them to get a faithful status of the kind of failures and a faithful history of the failures.
I am not too bothered by the gigantic error log, since typically I go to the very end of the log to look at the summary get a quick feeling of the the different kind of errors and then can investigate failures one by one:
One recent example where I was annoyed by the
--maxfail
is #28583, I wanted to get an idea of the remaining scipy-dev issues and I got only a partial status. This has happened to me a few times (maybe 2-3 times?) since December where--maxfail
was added.