Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions ci/run_pytests.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/bash
# Copyright (c) 2024, NVIDIA CORPORATION.
# Copyright (c) 2024-2025, NVIDIA CORPORATION.

set -euo pipefail

# It is essential to cd into python/rmm/rmm as `pytest-xdist` + `coverage` seem to work only at this directory level.

# Support invoking run_pytests.sh outside the script directory
cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../python/rmm/
cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../python/rmm/rmm/

pytest --cache-clear -v "$@" .
pytest --cache-clear -v "$@" tests
2 changes: 2 additions & 0 deletions ci/test_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ rapids-logger "pytest rmm"

./ci/run_pytests.sh \
--junitxml="${RAPIDS_TESTS_DIR}/junit-rmm.xml" \
--numprocesses=8 \
--dist=worksteal \
--cov-config=.coveragerc \
--cov=rmm \
--cov-report=xml:"${RAPIDS_COVERAGE_DIR}/rmm-coverage.xml" \
Expand Down
1 change: 1 addition & 0 deletions conda/environments/all_cuda-129_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dependencies:
- pre-commit
- pytest
- pytest-cov
- pytest-xdist
- python>=3.10,<3.14
- rapids-build-backend>=0.4.0,<0.5.0.dev0
- rapids-logger==0.2.*,>=0.0.0a0
Expand Down
1 change: 1 addition & 0 deletions conda/environments/all_cuda-129_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dependencies:
- pre-commit
- pytest
- pytest-cov
- pytest-xdist
- python>=3.10,<3.14
- rapids-build-backend>=0.4.0,<0.5.0.dev0
- rapids-logger==0.2.*,>=0.0.0a0
Expand Down
1 change: 1 addition & 0 deletions conda/environments/all_cuda-130_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dependencies:
- pre-commit
- pytest
- pytest-cov
- pytest-xdist
- python>=3.10,<3.14
- rapids-build-backend>=0.4.0,<0.5.0.dev0
- rapids-logger==0.2.*,>=0.0.0a0
Expand Down
1 change: 1 addition & 0 deletions conda/environments/all_cuda-130_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dependencies:
- pre-commit
- pytest
- pytest-cov
- pytest-xdist
- python>=3.10,<3.14
- rapids-build-backend>=0.4.0,<0.5.0.dev0
- rapids-logger==0.2.*,>=0.0.0a0
Expand Down
1 change: 1 addition & 0 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ dependencies:
packages:
- pytest
- pytest-cov
- pytest-xdist
specific:
- output_types: [conda, requirements, pyproject]
matrices:
Expand Down
1 change: 1 addition & 0 deletions python/rmm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ test = [
"numba>=0.60.0,<0.62.0a0",
"pytest",
"pytest-cov",
"pytest-xdist",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.

[project.urls]
Expand Down
Loading