Skip to content

Commit db93e35

Browse files
committed
[CI] Add timeout limit for SYCL-CTS
Also add an output to GITHUB_STEP_SUMMARY.
1 parent 59a5521 commit db93e35

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/sycl-linux-run-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@ jobs:
307307
if: inputs.tests_selector == 'cts'
308308
env:
309309
ONEAPI_DEVICE_SELECTOR: ${{ inputs.target_devices }}
310+
# This job takes ~100min usually. But sometimes test_kernel_bundle is not
311+
# responding, so the job reaches the 360min limit. Setting a lower one.
312+
timeout-minutes: 150
310313
# By-default GitHub actions execute the "run" shell script with -e option,
311314
# so the execution terminates if any command returns a non-zero status.
312315
# Since we're using a loop to run all test-binaries separately, some test
@@ -339,7 +342,7 @@ jobs:
339342
fi
340343
done
341344
if [ -n "$status" ]; then
342-
echo "Failed suite(s): $failed_suites"
345+
echo "Failed suite(s): $failed_suites" >> GITHUB_STEP_SUMMARY
343346
exit 1
344347
fi
345348
exit 0

0 commit comments

Comments
 (0)