Skip to content

Commit 38e6e1b

Browse files
authored
[CI][CTS] Add filter for build-only mode (#16671)
In nightly we build and run CTS separately, so the build contains the full set of tests. Adding a filter to exclude categories that are not supported at all (e.g. compfail).
1 parent 2fb0cb3 commit 38e6e1b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: .github/workflows/sycl-linux-run-tests.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,9 @@ jobs:
361361
cts_exclude_filter=""
362362
# If CTS_TESTS_TO_BUILD is null - use filter
363363
if [ -z "$CTS_TESTS_TO_BUILD" ]; then
364-
if [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
364+
if [ "${{ contains(inputs.cts_testing_mode, 'build-only') }}" = "true" ]; then
365+
cts_exclude_filter=$PWD/devops/cts_exclude_filter_compfails
366+
elif [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
365367
cts_exclude_filter=$PWD/devops/cts_exclude_filter_OCL_CPU
366368
elif [ "${{ contains(inputs.target_devices, 'level_zero:gpu') }}" = "true" ]; then
367369
cts_exclude_filter=$PWD/devops/cts_exclude_filter_L0_GPU

Diff for: devops/cts_exclude_filter_compfails

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Please use "#" to add comments here.
2+
# Do not delete the file even if it's empty.

0 commit comments

Comments
 (0)