diff options
| author | nafkhamdc <navid.afkhami@mdc-berlin.de> | 2024-03-28 11:04:42 +0000 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2024-03-28 13:08:34 +0100 |
| commit | 1da36e4db925addecbd49a504752d9efb9b6eb7e (patch) | |
| tree | 10dd14c9c02ab1e1326a0474ed4b3a574e8d223e | |
| parent | b8f6b013b9c764561dd552df23a8a0abc3eba175 (diff) | |
gnu: Add python-pytest-testmon.
* gnu/packages/python-check.scm (python-pytest-testmon): New variable.
Change-Id: Ia2e6034781898c04bd766145e0352060a975d479
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
| -rw-r--r-- | gnu/packages/python-check.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 51a38bbcbe6..69663f67e94 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl> | 18 | ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl> |
| 19 | ;;; Copyright © 2022 jgart <jgart@dismail.de> | 19 | ;;; Copyright © 2022 jgart <jgart@dismail.de> |
| 20 | ;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com> | 20 | ;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com> |
| 21 | ;;; Copyright © 2024 Navid Afkhami <navid.afkhami@mdc-berlin.de> | ||
| 21 | ;;; | 22 | ;;; |
| 22 | ;;; This file is part of GNU Guix. | 23 | ;;; This file is part of GNU Guix. |
| 23 | ;;; | 24 | ;;; |
| @@ -1093,6 +1094,28 @@ of the project to ensure it renders properly.") | |||
| 1093 | simpler.") | 1094 | simpler.") |
| 1094 | (license license:expat))) | 1095 | (license license:expat))) |
| 1095 | 1096 | ||
| 1097 | (define-public python-pytest-testmon | ||
| 1098 | (package | ||
| 1099 | (name "python-pytest-testmon") | ||
| 1100 | (version "2.1.1") | ||
| 1101 | (source | ||
| 1102 | (origin | ||
| 1103 | (method git-fetch) | ||
| 1104 | (uri (git-reference | ||
| 1105 | (url "https://github.com/tarpas/pytest-testmon") | ||
| 1106 | (commit (string-append "v" version)))) | ||
| 1107 | (file-name (git-file-name name version)) | ||
| 1108 | (sha256 | ||
| 1109 | (base32 "01qhbkb3n8c5c4id94w6b06q9wb7b6a33mqwyrkdfzk5pzv1gcyd")))) | ||
| 1110 | (build-system pyproject-build-system) | ||
| 1111 | (arguments (list #:tests? #false)) ;there are none | ||
| 1112 | (native-inputs (list python-coverage python-pytest)) | ||
| 1113 | (home-page "https://github.com/tarpas/pytest-testmon") | ||
| 1114 | (synopsis "Selects tests affected by changed files and methods") | ||
| 1115 | (description | ||
| 1116 | "This plug-in auto-selects and reruns tests impacted by recent changes.") | ||
| 1117 | (license license:expat))) | ||
| 1118 | |||
| 1096 | (define-public python-pytest-trio | 1119 | (define-public python-pytest-trio |
| 1097 | (package | 1120 | (package |
| 1098 | (name "python-pytest-trio") | 1121 | (name "python-pytest-trio") |
