Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

add a branch to fail out on error too #11

Merged
merged 2 commits into from
Dec 5, 2023
Merged

Conversation

ashishkeshan
Copy link
Contributor

@ashishkeshan ashishkeshan commented Dec 5, 2023

This pull request primarily involves changes to the src/main.js file in order to enhance error handling. The most significant change is the addition of a new condition in the main function to check for test errors, and if any are found, the program is set to fail.

Enhancements to error handling:

  • src/main.js: In the main function, a new condition has been added to check if any test results have a status of 'error'. If so, the program is set to fail using core.setFailed. This enhances the error handling capability of the program by not just failing on test failures, but also on test errors.

@ashishkeshan ashishkeshan merged commit e276193 into main Dec 5, 2023
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants