-
-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Unit Test Results action is failing if there is a test failure #98
Comments
The quoted To be honest I am not quite sure what is the best behaviour here. One could argue that the On the other hand you could say that the job that ran the unit tests should also fail, thus it is redundant for Unless there is a good reasoning for the latter point, I think I am shifted towards the first. In that case, I should probably reword that note to be more precise. |
The current functionality is rigid and cannot satisfy a use-case where we want certain test failures to be notified on, but not actually cause a failure in the workflow. What do you think about a boolean parameter for |
You are right, there are use-cases where you want it to succeed and not pollute your checks. More flexibility over the default behaviour is a good compromise in this case. Do you want to update your PR or should I sketch it out as it would require README.md and action.yml changes as well? |
If you'd prefer to take the task I'd support that. Otherwise I could work on it on the weekend. |
I will prepare something tomorrow then. |
Please try the fix by running the action from branch
|
works great. thanks! |
Merged to master. This will be released shortly. |
This has been released. If you are using |
I'm on v1.9. The README states
But when I run a test containing a failure, the action fails. But if the tests pass, the action passes.
The text was updated successfully, but these errors were encountered: