Skip to content

Commit

Permalink
Pre-compiled end-to-end gpu driver validation
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <[email protected]>
  • Loading branch information
shivakunv committed Aug 23, 2024
1 parent 94d9453 commit 03e0cc4
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,31 +79,31 @@ jobs:
echo "DRIVER_VERSIONS=$DRIVER_VERSIONS" >> $GITHUB_ENV
exit 0
- name: Validate gpu driver
env:
TEST_CASE: "./tests/cases/nvidia-driver.sh"
USE_PRECOMPILED: "0"
run: |
rc=0
for driver_version in ${DRIVER_VERSIONS}; do
echo "Running e2e for DRIVER_VERSION=$driver_version"
status=0
./tests/ci-run-e2e.sh ${TEST_CASE} ${COMMIT_SHORT_SHA}-${driver_version} ${USE_PRECOMPILED} || status=$?
if [ $status -ne 0 ]; then
echo "e2e validation failed for driver version $driver_version with status $status"
rc=$status
fi
done
./tests/scripts/pull.sh /tmp/logs logs
exit $rc
# - name: Validate gpu driver
# env:
# TEST_CASE: "./tests/cases/nvidia-driver.sh"
# USE_PRECOMPILED: "0"
# run: |
# rc=0
# for driver_version in ${DRIVER_VERSIONS}; do
# echo "Running e2e for DRIVER_VERSION=$driver_version"
# status=0
# ./tests/ci-run-e2e.sh ${TEST_CASE} ${COMMIT_SHORT_SHA}-${driver_version} ${USE_PRECOMPILED} || status=$?
# if [ $status -ne 0 ]; then
# echo "e2e validation failed for driver version $driver_version with status $status"
# rc=$status
# fi
# done
# ./tests/scripts/pull.sh /tmp/logs logs
# exit $rc

- name: Archive test logs
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: nvidiadriver-e2e-test-logs
path: ./logs/
retention-days: 15
# - name: Archive test logs
# if: ${{ failure() }}
# uses: actions/upload-artifact@v4
# with:
# name: nvidiadriver-e2e-test-logs
# path: ./logs/
# retention-days: 15

- name: Precompiled e2e test- upgrade kernel and Validate gpu driver
env:
Expand Down

0 comments on commit 03e0cc4

Please sign in to comment.