generated from PSModule/Template-Action
-
Notifications
You must be signed in to change notification settings - Fork 0
🩹 [Patch]: Allow external continue-on-error, and add status in action #11
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
052c3d5 to
dd1f07e
Compare
…mlining output commands
… outcome and conclusion logs
…ow for simple failure job
…ontinue-on-error condition
… job continuation on failure
… outcome and conclusion logs, and aggregate results in a summary table
…s as GitHub outputs, and modify grouping logic in Helpers and main scripts for expanded path handling
… improved status reporting
…usion outputs, simplifying output handling
…nd simplify status check logic
…ce outcome/conclusion handling for improved clarity and reporting
…t workflow for improved readability
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This pull request includes several updates to the GitHub Actions workflow configuration and test files to improve the handling and reporting of test outcomes and conclusions.
Enhancements to GitHub Actions workflow:
.github/workflows/Action-Test.ymloutcomeandconclusionto multiple jobs, includingActionTest1Simple,ActionTest1SimpleFailure,ActionTest2Standard, andActionTest3Advanced.CatchJobto aggregate and display the results of all test jobs in a table format, and to check if all jobs passed their expected outcomes and conclusions.Updates to individual test cases:
action.yml: Added a new step to check thePassedstatus of tests and exit with an error if the tests did not pass, which in turn makes the caller be able to distinguish if the job failed and allows them to act accordingly. We are using this mechanism in theCatchJobstep of theAction-Testworkflow to aggregate all status.tests/1-Simple-Failure/Failure.Tests.ps1: Added a new test case to intentionally fail by asserting thattrueshould befalse, which is required for testing failure scenarios.Type of change
Checklist