[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
94/166: gnu: pylint: Run tests in parallel.
From: |
guix-commits |
Subject: |
94/166: gnu: pylint: Run tests in parallel. |
Date: |
Tue, 19 Apr 2022 09:18:02 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 8efbaa9c272b2ead168721961b1697051269458a
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
- 65/166: gnu: Add python-ordered-set., (continued)
- 65/166: gnu: Add python-ordered-set., guix-commits, 2022/04/19
- 71/166: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/04/19
- 72/166: gnu: Add python-scikit-build., guix-commits, 2022/04/19
- 77/166: gnu: Add python-fonttools-next., guix-commits, 2022/04/19
- 78/166: gnu: Add python-afdko., guix-commits, 2022/04/19
- 79/166: gnu: Add python-cffsubr., guix-commits, 2022/04/19
- 81/166: gnu: Add python-skia-pathops., guix-commits, 2022/04/19
- 85/166: gnu: Add python-sfdlib., guix-commits, 2022/04/19
- 88/166: gnu: Add texlive-bidi., guix-commits, 2022/04/19
- 93/166: gnu: python-black: Update to 22.3.0., guix-commits, 2022/04/19
- 94/166: gnu: pylint: Run tests in parallel.,
guix-commits <=
- 26/166: gnu: Add python-mutatormath., guix-commits, 2022/04/19
- 27/166: gnu: Add python-fontpens-bootstrap., guix-commits, 2022/04/19
- 33/166: gnu: Add python-cu2qu., guix-commits, 2022/04/19
- 36/166: gnu: Add python-types-toml., guix-commits, 2022/04/19
- 18/166: gnu: Add texlive-zref., guix-commits, 2022/04/19
- 25/166: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/04/19
- 30/166: gnu: Add python-fontpens., guix-commits, 2022/04/19
- 37/166: gnu: Add python-pytest-mypy., guix-commits, 2022/04/19
- 42/166: gnu: Add python-types-pytz., guix-commits, 2022/04/19
- 44/166: gnu: Add python-pytest-enabler-bootstrap., guix-commits, 2022/04/19