Closed timkimadobe closed 11 months ago
Merging #424 (df33ea1) into dev (8f46df6) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## dev #424 +/- ##
=======================================
Coverage 96.76% 96.76%
=======================================
Files 27 27
Lines 1730 1730
=======================================
Hits 1674 1674
Misses 56 56
Description
This PR adds more robust categorized error handling for the integration test job by making the following changes:
id
values for each step so they can be referenced uniquelyOn failure
step to categorize failures into 3 buckets:exit 1
= integration test failureexit 2
= workflow setup/process failureexit 3
= catchall for any unhandled failureson-failure
processingsteps
array of step objects to get the correct step name - ORnumber
field should also be deterministic based on the yaml definitionfailure()
is nottrue
- that is, the job passed, the JSON will use the default value of0
Example snippet of step output from API response:
run-name
property to use the custom ID set in the workflow inputsworkflow_name
keyrun-name
can only reference the github and inputs contexts.Example runs (using my fork)
Successful cron run: https://github.com/timkimadobe/aepsdk-edge-ios/actions/runs/6579230035 Successful run: https://github.com/timkimadobe/aepsdk-edge-ios/actions/runs/6568252546/job/17842380191 Failure with custom ID: https://github.com/timkimadobe/aepsdk-edge-ios/actions/runs/6568126782/job/17842058447 Failure with default name: https://github.com/timkimadobe/aepsdk-edge-ios/actions/runs/6568125852/job/17842055225
I've also set my fork's default branch to the one opening this PR so that the cron + this update hopefully triggers together, since these workflow changes will not be effective as the default behavior in the main repo until it is merged into
main
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: