[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
94/242: gnu: pylint: Run tests in parallel.
From: |
guix-commits |
Subject: |
94/242: gnu: pylint: Run tests in parallel. |
Date: |
Thu, 12 May 2022 14:14:12 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 476ae98d0bd0be0cddea27edbf99c65c0c798cdb
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
- 68/242: gnu: python-setuptools: Update to 62.0.0., (continued)
- 68/242: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/05/12
- 70/242: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/05/12
- 64/242: gnu: Add psautohint., guix-commits, 2022/05/12
- 73/242: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/05/12
- 79/242: gnu: Add python-cffsubr., guix-commits, 2022/05/12
- 23/242: gnu: Add python-fontmath., guix-commits, 2022/05/12
- 74/242: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/05/12
- 76/242: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/05/12
- 82/242: gnu: Add python-ufolib2., guix-commits, 2022/05/12
- 100/242: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/05/12
- 94/242: gnu: pylint: Run tests in parallel.,
guix-commits <=
- 111/242: gnu: Add texlive-unicode-math., guix-commits, 2022/05/12
- 103/242: gnu: python-jupyter-core: Update to 4.10.0., guix-commits, 2022/05/12
- 38/242: gnu: Add python-jaraco-context-bootstrap., guix-commits, 2022/05/12
- 77/242: gnu: Add python-fonttools-next., guix-commits, 2022/05/12
- 117/242: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/05/12
- 123/242: gnu: Add python-sphinx-sitemap., guix-commits, 2022/05/12
- 127/242: gnu: Add texlive-cbfonts., guix-commits, 2022/05/12
- 134/242: gnu: Add python-strict-rfc3339., guix-commits, 2022/05/12
- 151/242: gnu: Add python-dictpath., guix-commits, 2022/05/12
- 170/242: gnu: python-types-dataclasses: Fix typo., guix-commits, 2022/05/12