File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -93,25 +93,26 @@ jobs:
9393 --apisecret "$OPENQA_SECRET" \
9494 -X GET "jobs/${id}" | jq -r ".job.result"`
9595
96- # Apply result mapping: OpenQA -> GitHub
96+ # Apply result mapping: OpenQA -> GitHub (OpenQA statuses from https://open.qa/docs/#_jobs)
9797 case $openqa_result in
9898 "passed")
9999 github_state="success"
100100 ;;
101- "failed")
101+ "failed"|"done"|"softfailed"|"obsoleted"|"parallel_failed"|"parallel_restarted" )
102102 workflow_exit_status=1
103103 github_state="failure"
104104 ;;
105- "skipped"|"incomplete"|"user_cancelled")
105+ "skipped"|"incomplete"|"cancelled"|" user_cancelled"|"user_restarted"|"timeout_exceeded ")
106106 workflow_exit_status=1
107107 github_state="error"
108108 ;;
109- "none")
109+ "none"|"scheduled"|"setup"|"running"|"uploading" )
110110 continue
111111 ;;
112112 *)
113113 echo "Unknown test status: $openqa_result"
114114 workflow_exit_status=1
115+ github_state="error"
115116 ;;
116117 esac
117118 curl --fail -L -X POST \
You can’t perform that action at this time.
0 commit comments