File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -107,16 +107,13 @@ jobs:
107107 plan.DefaultTasks = "preMadeTest";
108108 end
109109 _EOF
110- - name : Run command with buildtool pre-made test task
110+ - name : Run command with buildtool pre-made test task and verify summary generation
111111 uses : ./
112112 with :
113- command : buildtool preMadeTest
114- - name : Verify build and test summary generation
115- run : |
116- set -e
117- grep "MATLAB Build Results" "$GITHUB_STEP_SUMMARY"
118- grep "MATLAB Test Results" "$GITHUB_STEP_SUMMARY"
119- shell : bash
113+ command : >
114+ buildtool preMadeTest;
115+ assert(contains(getenv('GITHUB_STEP_SUMMARY'), 'MATLAB Build Results'));
116+ assert(contains(getenv('GITHUB_STEP_SUMMARY'), 'MATLAB Test Results'));
120117 - name : Verify environment variables make it to MATLAB
121118 uses : ./
122119 with :
You can’t perform that action at this time.
0 commit comments