[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 094/232] gnu: pylint: Run tests in parallel.
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 094/232] gnu: pylint: Run tests in parallel. |
Date: |
Sun, 24 Apr 2022 23:57:00 -0400 |
* 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 @@ (define-public python-pylint
(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
--
2.34.0
- [bug#55104] [PATCH 033/232] gnu: Add python-cu2qu., (continued)
- [bug#55104] [PATCH 033/232] gnu: Add python-cu2qu., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 026/232] gnu: Add python-mutatormath., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 023/232] gnu: Add python-fontmath., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 037/232] gnu: Add python-pytest-mypy., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 055/232] gnu: Add python-pytest-enabler., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 056/232] gnu: Add python-path., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 040/232] gnu: Add python-autocommand., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 041/232] gnu: Add python-types-freezegun., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 057/232] gnu: Add python-pip-run., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 085/232] gnu: Add python-sfdlib., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 094/232] gnu: pylint: Run tests in parallel.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 092/232] gnu: Add python-untangle., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 009/232] gnu: python-prompt-toolkit: Update to 3.0.29., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 024/232] gnu: Add python-unicodedata2., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 025/232] gnu: python-fonttools-with-test: Rename to python-fonttools-full., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 039/232] gnu: Add python-jaraco-functools-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 027/232] gnu: Add python-fontpens-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 047/232] gnu: python-importlib-metadata: Update to 4.11.3., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 020/232] gnu: Add opentype-sanitizer., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 059/232] gnu: Add python-pytest-perf., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 060/232] gnu: python-factory-boy: Update to 3.2.1., Maxim Cournoyer, 2022/04/25