aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid Elsing <david.elsing@posteo.net>2024-03-23 22:04:44 +0000
committerLudovic Courtès <ludo@gnu.org>2024-06-18 11:33:58 +0200
commit22225dee9bc92a46077410ebd801e12a4daff96e (patch)
treeb860d50c065eea34b83e9f08572238fb7daa1d34 /gnu
parentef7d9801e36b3d5ed5af964a091235ce830a833b (diff)
downloadguix-22225dee9bc92a46077410ebd801e12a4daff96e.tar
guix-22225dee9bc92a46077410ebd801e12a4daff96e.tar.gz
gnu: Add python-pytest-shard.
* gnu/packages/python-check.scm (python-pytest-shard): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-check.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 984a860027..a6c8aa50fe 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -244,6 +244,30 @@ it adds to the Pytest command line interface (CLI).")
times and detect flakyness.")
(license license:asl2.0)))
+(define-public python-pytest-shard
+ (let ((commit "64610a08dac6b0511b6d51cf895d0e1040d162ad")
+ (revision "0"))
+ (package
+ (name "python-pytest-shard")
+ (version (git-version "0.1.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/AdamGleave/pytest-shard")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1h31m68igz670bzl307hazjrfbr8pk14mxflllar18ydmlrnl677"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-pytest))
+ (home-page "https://github.com/AdamGleave/pytest-shard")
+ (synopsis "Pytest plugin for sharding tests")
+ (description "This package provides a Pytest extension for sharding
+tests at the granularity of individual test cases, which can be run in
+parallel and on multiple machines.")
+ (license license:expat))))
+
(define-public python-testfixtures
(package
(name "python-testfixtures")