Skip to content

Commit 9232775

Browse files
committed
test: add pytest-randomly to cuda_core
1 parent c4079dd commit 9232775

File tree

3 files changed

+54
-4
lines changed

3 files changed

+54
-4
lines changed

cuda_core/pixi.lock

Lines changed: 52 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cuda_core/pixi.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ cuda-core = { path = "." }
1616
[feature.test.dependencies]
1717
pytest = "*"
1818
pytest-benchmark = "*"
19+
pytest-randomly = "*"
1920

2021
[feature.cython-tests.dependencies]
2122
cython = ">=3.2,<3.3" # for tests that exercise APIs from cython

cuda_core/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ cu12 = ["cuda-bindings[all]==12.*"]
5151
cu13 = ["cuda-bindings[all]==13.*"]
5252

5353
[dependency-groups]
54-
test = ["cython>=3.2,<3.3", "setuptools", "pytest>=6.2.4"]
54+
test = ["cython>=3.2,<3.3", "setuptools", "pytest>=6.2.4", "pytest-randomly"]
5555
test-cu12 = ["cuda-core[test]", "cupy-cuda12x; python_version < '3.14'", "cuda-toolkit[cudart]==12.*"] # runtime headers needed by CuPy
5656
test-cu13 = ["cuda-core[test]", "cupy-cuda13x; python_version < '3.14'", "cuda-toolkit[cudart]==13.*"] # runtime headers needed by CuPy
5757
# free threaded build, cupy doesn't support free-threaded builds yet, so avoid installing it for now

0 commit comments

Comments
 (0)