Skip to content

Commit baf140c

Browse files
committed
fix cuda test
Signed-off-by: sirutBuasai <sirutbuasai27@outlook.com>
1 parent 5f900dc commit baf140c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/_reusable.sanity-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,5 +223,6 @@ jobs:
223223
224224
- name: Run CUDA tests
225225
run: |
226+
CUDA_SHORT=$(echo '${{ needs.preflight.outputs.cuda-version }}' | cut -d. -f1,2)
226227
docker exec ${CONTAINER_ID} bash /workdir/test/sanity/scripts/cuda_${{ needs.preflight.outputs.target }}_test.sh \
227-
${{ needs.preflight.outputs.cuda-version }}
228+
"${CUDA_SHORT}"

0 commit comments

Comments
 (0)