3838 ref :
3939 type : string
4040 required : True
41+ description : |
42+ Commit SHA or branch to checkout the intel/llvm repo.
4143 devops_ref :
4244 type : string
4345 required : False
4446 description : |
45- By default we checkout the devops directory from "inputs.ref" branch.
46- devops_ref may be specified to checkout the devops dir from different
47- branch.
48- Note: it doesn't affect ./devops/actions/run-tests/* as these actions
49- call checkout again and therefore override the devops directory, so
50- configs/dependecies from input.ref are used.
47+ Commit SHA or branch to checkout the devops directory.
48+ tests_ref :
49+ type : string
50+ required : False
51+ description : Commit SHA or branch to checkout e2e/cts tests.
5152
5253 sycl_toolchain_artifact :
5354 type : string
@@ -298,7 +299,7 @@ jobs:
298299 if : inputs.tests_selector == 'e2e'
299300 uses : ./devops/actions/run-tests/e2e
300301 with :
301- ref : ${{ inputs.ref || github.sha }}
302+ ref : ${{ inputs.tests_ref || inputs. ref || github.sha }}
302303 binaries_artifact : ${{ inputs.e2e_binaries_artifact }}
303304 testing_mode : ${{ inputs.e2e_testing_mode }}
304305 extra_cmake_args : ${{ inputs.extra_cmake_args }}
@@ -310,6 +311,7 @@ jobs:
310311 if : inputs.tests_selector == 'cts'
311312 uses : ./devops/actions/run-tests/cts
312313 with :
314+ ref : ${{ inputs.tests_ref || 'main' }}
313315 extra_cmake_args : ${{ inputs.extra_cmake_args }}
314316 cts_testing_mode : ${{ inputs.cts_testing_mode }}
315317 sycl_cts_artifact : ${{ inputs.sycl_cts_artifact }}
0 commit comments