Skip to content

Commit b24d93f

Browse files
committed
test
1 parent b07833e commit b24d93f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/test-variant-dependency-test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix: ${{ fromJSON(inputs.build-matrix) }}
33+
build-result: ${{ inputs.build-result }}
34+
test-result: ${{ inputs.test-result }}
3335
name: test-${{ matrix.cuda-version }}
3436
outputs:
3537
result: ${{ steps.test-step.outputs.result }}
@@ -38,11 +40,14 @@ jobs:
3840
id: check-build-result
3941
run: |
4042
set -euo pipefail
43+
echo "Build result: ${{ inputs.build-result }}"
44+
echo "Build matrix: ${{ build-result }}"
4145
if [ "${{ inputs.build-result }}" == "success" ]; then
4246
echo "Build result is success"
4347
else
4448
echo "Build result is failure"
45-
exit -1
49+
exit 1
50+
fi
4651
- name: Check previous test result
4752
id: check-previous-test-result
4853
run: |
@@ -51,7 +56,8 @@ jobs:
5156
echo "Test result is success"
5257
else
5358
echo "Test result is failure"
54-
exit -1
59+
exit 1
60+
fi
5561
- name: Test with CUDA ${{ matrix.cuda-version }}
5662
id: test-step
5763
run: |
@@ -60,7 +66,7 @@ jobs:
6066
if [ "${{ matrix.cuda-version }}" == "12.8" ]; then
6167
echo "Testing with CUDA 12.8 is not supported"
6268
echo "result=failure" >> $GITHUB_OUTPUT
63-
exit -1
69+
exit 1
6470
fi
6571
echo "Testing with CUDA ${{ matrix.cuda-version }} successfully completed"
6672
echo "result=success" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)