[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: python-simpervisor: Enable tests.
From: |
guix-commits |
Subject: |
12/12: gnu: python-simpervisor: Enable tests. |
Date: |
Sun, 18 Feb 2024 07:23:18 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 2f1ed825afa535693f7fe32b9e3e9128cc8f99c9
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Feb 17 23:39:21 2024 +0000
gnu: python-simpervisor: Enable tests.
* gnu/packages/python-xyz.scm (python-simpervisor) [arguments]
<#:test-flags>: Parallelise tests.
<#:phases>: Use standard 'check phase.
[native-inputs]: Add python-psutil and python-pytest-xdist.
Change-Id: Ica52d672470309593b1d01c5cc4713f080c2c1b3
---
gnu/packages/python-xyz.scm | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1a804f165b..c3dfb9603c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31161,20 +31161,15 @@ module patches @code{asyncio} to allow nested use of
@code{asyncio.run} and
(base32 "0drvqxbr6fpydb4d7z5dhn97d578gf39sd8cawyl6ksf1f4y8yzg"))))
(build-system pyproject-build-system)
(arguments
- `(#:tests? #f ; Test suite can't find aiohttp.
- #:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "--maxfail" "3" "--verbose"))
- #t)))))
+ (list
+ #:test-flags '(list "-n" (number->string (parallel-job-count)))))
(native-inputs
(list python-aiohttp
python-hatchling
+ python-psutil
python-pytest
- python-pytest-asyncio))
+ python-pytest-asyncio
+ python-pytest-xdist))
(home-page "https://github.com/yuvipanda/simpervisor")
(synopsis "Simple async process supervisor")
(description
- 02/12: gnu: Add python-apscheduler., (continued)
- 02/12: gnu: Add python-apscheduler., guix-commits, 2024/02/18
- 03/12: gnu: python-crontab: Enable tests., guix-commits, 2024/02/18
- 05/12: gnu: python-zeroconf: Simplify package., guix-commits, 2024/02/18
- 04/12: gnu: python-crontab: Update to 3.0.0., guix-commits, 2024/02/18
- 08/12: gnu: python-humanize: Update to 4.0.0., guix-commits, 2024/02/18
- 09/12: gnu: python-watchdog: Simplify package., guix-commits, 2024/02/18
- 10/12: gnu: python-devtools: Update to 0.12.2, fix build., guix-commits, 2024/02/18
- 11/12: gnu: python-simpervisor: Update to 1.0.0., guix-commits, 2024/02/18
- 06/12: gnu: python-xyzservices: Simplify package., guix-commits, 2024/02/18
- 07/12: gnu: python-trio-websocket: Simplify package., guix-commits, 2024/02/18
- 12/12: gnu: python-simpervisor: Enable tests.,
guix-commits <=