Skip to content

Commit 28c7483

Browse files
committed
apply suggestion attempt 2
1 parent bac35ea commit 28c7483

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,9 @@ jobs:
311311
if: inputs.tests_selector == 'cts'
312312
uses: ./devops/actions/run-tests/cts
313313
with:
314+
ref: ${{ inputs.tests_ref }}
314315
extra_cmake_args: ${{ inputs.extra_cmake_args }}
315316
cts_testing_mode: ${{ inputs.cts_testing_mode }}
316317
sycl_cts_artifact: ${{ inputs.sycl_cts_artifact }}
317318
target_devices: ${{ inputs.target_devices }}
318319
retention-days: ${{ inputs.retention-days }}
319-
tests_ref: ${{ inputs.tests_ref }}

devops/actions/run-tests/cts/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: 'Run SYCL CTS tests'
22

33
inputs:
4+
ref:
5+
description: "Commit SHA or branch to checkout tests"
6+
required: false
7+
default: "main"
48
extra_cmake_args:
59
required: false
610
cts_testing_mode:
@@ -11,10 +15,6 @@ inputs:
1115
required: true
1216
retention-days:
1317
required: false
14-
tests_ref:
15-
description: "Commit SHA or branch to checkout tests"
16-
required: false
17-
default: "main"
1818

1919
runs:
2020
using: "composite"
@@ -25,7 +25,7 @@ runs:
2525
with:
2626
path: khronos_sycl_cts
2727
repository: 'KhronosGroup/SYCL-CTS'
28-
ref: ${{ inputs.tests_ref }}
28+
ref: ${{ inputs.ref }}
2929
cache_path: "/__w/repo_cache/"
3030
- name: SYCL CTS GIT submodules init
3131
if: inputs.cts_testing_mode != 'run-only'

0 commit comments

Comments
 (0)