[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
94/233: gnu: pylint: Run tests in parallel.
From: |
guix-commits |
Subject: |
94/233: gnu: pylint: Run tests in parallel. |
Date: |
Sun, 24 Apr 2022 23:39:48 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 6e61700aaca21b9c814473c21d8789e31ed7e22c
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
- 71/233: gnu: python-pytest-cov: Update to 3.0.0., (continued)
- 71/233: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/04/24
- 74/233: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/04/24
- 75/233: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/04/24
- 78/233: gnu: Add python-afdko., guix-commits, 2022/04/24
- 80/233: gnu: Add skia., guix-commits, 2022/04/24
- 81/233: gnu: Add python-skia-pathops., guix-commits, 2022/04/24
- 82/233: gnu: Add python-ufolib2., guix-commits, 2022/04/24
- 84/233: gnu: Add python-ufo2ft., guix-commits, 2022/04/24
- 90/233: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/04/24
- 91/233: gnu: python-flask: Update to 2.1.1., guix-commits, 2022/04/24
- 94/233: gnu: pylint: Run tests in parallel.,
guix-commits <=
- 99/233: gnu: Add python-pytest-forked-next., guix-commits, 2022/04/24
- 101/233: gnu: Add python-ipyparallel-bootstrap., guix-commits, 2022/04/24
- 104/233: gnu: python-jupyter-client: Update to 7.2.2., guix-commits, 2022/04/24
- 105/233: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/04/24
- 106/233: gnu: Add python-pytest-tornado., guix-commits, 2022/04/24
- 107/233: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/04/24
- 108/233: gnu: python-anyio: Update to 3.5.0., guix-commits, 2022/04/24
- 110/233: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/04/24
- 112/233: gnu: Add texlive-lm-math., guix-commits, 2022/04/24
- 113/233: gnu: python-nbconvert: Update to 6.5.0., guix-commits, 2022/04/24