Skip to content

Commit

Permalink
[CI][CTS] Add filter for build-only mode (intel#16671)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
KornevNikita authored Jan 20, 2025
1 parent 2fb0cb3 commit 38e6e1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sycl-linux-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,9 @@ jobs:
cts_exclude_filter=""
# If CTS_TESTS_TO_BUILD is null - use filter
if [ -z "$CTS_TESTS_TO_BUILD" ]; then
if [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
if [ "${{ contains(inputs.cts_testing_mode, 'build-only') }}" = "true" ]; then
cts_exclude_filter=$PWD/devops/cts_exclude_filter_compfails
elif [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
cts_exclude_filter=$PWD/devops/cts_exclude_filter_OCL_CPU
elif [ "${{ contains(inputs.target_devices, 'level_zero:gpu') }}" = "true" ]; then
cts_exclude_filter=$PWD/devops/cts_exclude_filter_L0_GPU
Expand Down
2 changes: 2 additions & 0 deletions devops/cts_exclude_filter_compfails
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Please use "#" to add comments here.
# Do not delete the file even if it's empty.

0 comments on commit 38e6e1b

Please sign in to comment.