Skip to content

Commit

Permalink
register pytest requires_gpu mark
Browse files Browse the repository at this point in the history
  • Loading branch information
oliche committed Jul 1, 2024
1 parent 29e8b76 commit d3391ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,15 @@ dynamic = ["dependencies", "version"]
dependencies = {file = ["requirements.txt"]}
version = {attr = "iblsorter.__version__"}


[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
# exclude packages matching these glob patterns
include = ["iblsorter", "viz"]

[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"requires_gpu: Tests requires cupy (with gpu & CUDA). Tests that seem pointless without a GPU but still work should *not* use this.",
]

0 comments on commit d3391ec

Please sign in to comment.