Skip to content

Commit

Permalink
Enable all tests for arm jobs (#717)
Browse files Browse the repository at this point in the history
This PR enables running all tests in `arm` jobs

Authors:
  - GALI PREM SAGAR (https://github.com/galipremsagar)
  - https://github.com/jakirkham

Approvers:
  - Ray Douglass (https://github.com/raydouglass)
  - https://github.com/jakirkham

URL: #717
  • Loading branch information
galipremsagar authored Apr 5, 2024
1 parent 963f577 commit 66f072f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 41 deletions.
38 changes: 16 additions & 22 deletions ci/test_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,21 @@ python -m pip install $(echo ./dist/cucim*.whl)[test]

CUDA_MAJOR_VERSION=${RAPIDS_CUDA_VERSION:0:2}

# Run smoke tests for aarch64 pull requests
if [[ "$(arch)" == "aarch64" && ${RAPIDS_BUILD_TYPE} == "pull-request" ]]; then
python ./ci/wheel_smoke_test.py
else

DEBIAN_FRONTEND=noninteractive apt update
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends libopenslide0
DEBIAN_FRONTEND=noninteractive apt update
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends libopenslide0

if [[ ${CUDA_MAJOR_VERSION} == "11" ]]; then
# Omit I/O-related tests in ./python/cucim/tests due to known CUDA bug
# with dynamic loading of libcufile.
python -m pytest \
--junitxml="${RAPIDS_TESTS_DIR}/junit-cucim.xml" \
--numprocesses=8 \
--dist=worksteal \
./python/cucim/src/
else
python -m pytest \
--junitxml="${RAPIDS_TESTS_DIR}/junit-cucim.xml" \
--numprocesses=8 \
--dist=worksteal \
./python/cucim
fi
if [[ ${CUDA_MAJOR_VERSION} == "11" ]]; then
# Omit I/O-related tests in ./python/cucim/tests due to known CUDA bug
# with dynamic loading of libcufile.
python -m pytest \
--junitxml="${RAPIDS_TESTS_DIR}/junit-cucim.xml" \
--numprocesses=8 \
--dist=worksteal \
./python/cucim/src/
else
python -m pytest \
--junitxml="${RAPIDS_TESTS_DIR}/junit-cucim.xml" \
--numprocesses=8 \
--dist=worksteal \
./python/cucim
fi
19 changes: 0 additions & 19 deletions ci/wheel_smoke_test.py

This file was deleted.

0 comments on commit 66f072f

Please sign in to comment.