Skip to content

Commit

Permalink
Enable all tests for arm jobs (#1365)
Browse files Browse the repository at this point in the history
* run all pytests for arm jobs

* Delete ci/wheel_smoke_test_cuproj.py

* Delete ci/wheel_smoke_test_cuspatial.py
  • Loading branch information
galipremsagar authored Apr 10, 2024
1 parent 9451d13 commit e42de2f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 71 deletions.
22 changes: 9 additions & 13 deletions ci/test_wheel_cuproj.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,12 @@ python -m pip install --no-deps ./local-cuspatial-dep/cuspatial*.whl
# echo to expand wildcard before adding `[extra]` requires for pip
python -m pip install $(echo ./dist/cuproj*.whl)[test]

if [[ "$(arch)" == "aarch64" && ${RAPIDS_BUILD_TYPE} == "pull-request" ]]; then
python ./ci/wheel_smoke_test_cuproj.py
else
rapids-logger "pytest cuproj"
pushd python/cuproj/cuproj
python -m pytest \
--cache-clear \
--junitxml="${RAPIDS_TESTS_DIR}/junit-cuproj.xml" \
--numprocesses=8 \
--dist=worksteal \
tests
popd
fi
rapids-logger "pytest cuproj"
pushd python/cuproj/cuproj
python -m pytest \
--cache-clear \
--junitxml="${RAPIDS_TESTS_DIR}/junit-cuproj.xml" \
--numprocesses=8 \
--dist=worksteal \
tests
popd
22 changes: 9 additions & 13 deletions ci/test_wheel_cuspatial.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@ python -m pip install --no-binary fiona 'fiona>=1.8.19,<1.9'
# echo to expand wildcard before adding `[extra]` requires for pip
python -m pip install $(echo ./dist/cuspatial*.whl)[test]

if [[ "$(arch)" == "aarch64" && ${RAPIDS_BUILD_TYPE} == "pull-request" ]]; then
python ./ci/wheel_smoke_test_cuspatial.py
else
rapids-logger "pytest cuspatial"
pushd python/cuspatial/cuspatial
python -m pytest \
--cache-clear \
--junitxml="${RAPIDS_TESTS_DIR}/junit-cuspatial.xml" \
--numprocesses=8 \
--dist=worksteal \
tests
popd
fi
rapids-logger "pytest cuspatial"
pushd python/cuspatial/cuspatial
python -m pytest \
--cache-clear \
--junitxml="${RAPIDS_TESTS_DIR}/junit-cuspatial.xml" \
--numprocesses=8 \
--dist=worksteal \
tests
popd
17 changes: 0 additions & 17 deletions ci/wheel_smoke_test_cuproj.py

This file was deleted.

28 changes: 0 additions & 28 deletions ci/wheel_smoke_test_cuspatial.py

This file was deleted.

0 comments on commit e42de2f

Please sign in to comment.