[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
94/232: gnu: pylint: Run tests in parallel.
From: |
guix-commits |
Subject: |
94/232: gnu: pylint: Run tests in parallel. |
Date: |
Sun, 24 Apr 2022 23:58:53 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 49fade8d0cfdaa142976c0464774c8564c19d496
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Apr 10 22:04:58 2022 -0400
gnu: pylint: Run tests in parallel.
* gnu/packages/check.scm (python-pylint)
[phases]{check}: Add the '-n' option to use xdist with pytest.
[native-inputs]: Add python-pytest-xdist.
---
gnu/packages/check.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index b7a5a9bd46..005a3bde7c 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2532,9 +2532,10 @@ statements in the module it tests.")
(delete-file "tests/primer/test_primer_external.py")
(delete-file "tests/testutils/test_package_to_lint.py")
(setenv "HOME" "/tmp")
- (invoke "pytest" "-k" "test_functional")))))))
+ (invoke "pytest" "-k" "test_functional"
+ "-n" (number->string (parallel-job-count)))))))))
(native-inputs
- (list python-pytest))
+ (list python-pytest python-pytest-xdist))
(propagated-inputs
(list python-astroid
python-isort
- 60/232: gnu: python-factory-boy: Update to 3.2.1., (continued)
- 60/232: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/04/24
- 62/232: gnu: Add python-pytest-randomly., guix-commits, 2022/04/24
- 71/232: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/04/24
- 64/232: gnu: Add psautohint., guix-commits, 2022/04/24
- 73/232: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/04/24
- 81/232: gnu: Add python-skia-pathops., guix-commits, 2022/04/24
- 79/232: gnu: Add python-cffsubr., guix-commits, 2022/04/24
- 83/232: gnu: Add python-compreffor., guix-commits, 2022/04/24
- 82/232: gnu: Add python-ufolib2., guix-commits, 2022/04/24
- 84/232: gnu: Add python-ufo2ft., guix-commits, 2022/04/24
- 94/232: gnu: pylint: Run tests in parallel.,
guix-commits <=
- 97/232: gnu: Add python-debugpy., guix-commits, 2022/04/24
- 100/232: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/04/24
- 104/232: gnu: python-jupyter-client: Update to 7.2.2., guix-commits, 2022/04/24
- 106/232: gnu: Add python-pytest-tornado., guix-commits, 2022/04/24
- 107/232: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/04/24
- 111/232: gnu: Add texlive-unicode-math., guix-commits, 2022/04/24
- 112/232: gnu: Add texlive-lm-math., guix-commits, 2022/04/24
- 117/232: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/04/24
- 120/232: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/04/24
- 121/232: gnu: Add python-pep621., guix-commits, 2022/04/24