Skip to content

Commit

Permalink
[CI] Add timeout limit for SYCL-CTS (#13335)
Browse files Browse the repository at this point in the history
Also add an output to GITHUB_STEP_SUMMARY.
  • Loading branch information
KornevNikita authored Apr 10, 2024
1 parent 090323e commit 38c5524
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/sycl-linux-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ jobs:
if: inputs.tests_selector == 'cts'
env:
ONEAPI_DEVICE_SELECTOR: ${{ inputs.target_devices }}
# This job takes ~100min usually. But sometimes some test isn't
# responding, so the job reaches the 360min limit. Setting a lower one.
timeout-minutes: 150
# By-default GitHub actions execute the "run" shell script with -e option,
# so the execution terminates if any command returns a non-zero status.
# Since we're using a loop to run all test-binaries separately, some test
Expand Down Expand Up @@ -340,6 +343,7 @@ jobs:
done
if [ -n "$status" ]; then
echo "Failed suite(s): $failed_suites"
echo "Failed suite(s): $failed_suites" >> $GITHUB_STEP_SUMMARY
exit 1
fi
exit 0

0 comments on commit 38c5524

Please sign in to comment.