You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to modify the Python test migrated in #20. In the Python test, if a pytest function fails, the complete task fails. For example, in the following GHA, the workflow fails because of a failed pytest: wazuh/wazuh#25534
Although this behavior is correct, we want to make the workflow finish with other success, rather than fail in this kind of case. It seems that there are more options rather than success or failure in GitHub Actions, something like a warning exit code.
Tasks
Decide the workflow exit status when a pytest fails
Apply the change
Validate the new behavior
The text was updated successfully, but these errors were encountered:
Description
We want to modify the Python test migrated in #20. In the Python test, if a pytest function fails, the complete task fails. For example, in the following GHA, the workflow fails because of a failed pytest: wazuh/wazuh#25534
Although this behavior is correct, we want to make the workflow finish with other success, rather than fail in this kind of case. It seems that there are more options rather than
success
orfailure
in GitHub Actions, something like awarning
exit code.Tasks
The text was updated successfully, but these errors were encountered: