File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,6 @@ if ! (MAX_JOBS=4 python setup.py bdist_wheel && pip install dist/*.whl); then
1515 exit 1
1616fi
1717
18- # Basic test to ensure installation success
19- python test/test_utils.py TestDeviceUtilsCPU.test_device_mode_ops_sparse_mm_reduce_cpu_bfloat16
20- python test/test_utils.py TestDeviceUtilsCPU.test_device_mode_ops_sparse_mm_reduce_cpu_float16
21- python test/test_utils.py TestDeviceUtilsCPU.test_device_mode_ops_sparse_mm_reduce_cpu_float32
22- python test/test_utils.py TestDeviceUtilsCPU.test_device_mode_ops_sparse_mm_reduce_cpu_float64
2318
2419cd ..
2520pip install pytest pytest-xdist
@@ -28,7 +23,7 @@ if ! pytest -n $(nproc) -vvvv $PACKAGE_NAME/test/common_extended_utils.py $PACKA
2823 exit 0
2924fi
3025echo " -----start test
31- if ! pytest " $PACKAGE_NAME / test/test_utils.py " ; then
26+ if ! pytest -Xrs test; then
3227 echo " ------------------$PACKAGE_NAME :install_success_but_test_fails---------------------"
3328 exit 2
3429else
Original file line number Diff line number Diff line change 2424 - name : Set up Docker Buildx
2525 uses : docker/setup-buildx-action@v2
2626
27+ - name : Remove old untagged images (optional cleanup)
28+ run : |
29+ docker image prune -a -f
2730 - name : Build Docker image for ppc64le
2831 run : |
2932 docker build -f .github/workflows/Dockerfile.ppc64le -t pytorch-ppc64le:ubi9.3 .
You can’t perform that action at this time.
0 commit comments