Skip to content

Commit 38c5524

Browse files
authored
[CI] Add timeout limit for SYCL-CTS (#13335)
Also add an output to GITHUB_STEP_SUMMARY.
1 parent 090323e commit 38c5524

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
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 some test isn't
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
@@ -340,6 +343,7 @@ jobs:
340343
done
341344
if [ -n "$status" ]; then
342345
echo "Failed suite(s): $failed_suites"
346+
echo "Failed suite(s): $failed_suites" >> $GITHUB_STEP_SUMMARY
343347
exit 1
344348
fi
345349
exit 0

0 commit comments

Comments
 (0)