public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pylint] epel10: Parallelize tests with pytest-xdist
@ 2026-11-04 22:38 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-04 22:38 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/pylint
            Branch : epel10
            Commit : 4f97f211b09e7080dec0c338d3a27c26c5f50cd9
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2025-08-26T12:15:31+02:00
            Stats  : +2/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/pylint/c/4f97f211b09e7080dec0c338d3a27c26c5f50cd9?branch=epel10

            Log:
            Parallelize tests with pytest-xdist

This saves time (0:05:22 -> 0:01:47 on my machine).

---
diff --git a/pylint.spec b/pylint.spec
index 5ba6859..b278723 100644
--- a/pylint.spec
+++ b/pylint.spec
@@ -23,6 +23,7 @@ BuildRequires:  python3-devel
 # For tests
 BuildRequires:  python3-GitPython
 BuildRequires:  python3-pytest-benchmark
+BuildRequires:  python3-pytest-xdist
 BuildRequires:  python3-typing-extensions
 BuildRequires:  graphviz
 
@@ -80,6 +81,7 @@ mv pylint src
 # Skip benchmarks
 # Deselect all tests failing with Python 3.14
 %{__python3} -m pytest -v --ignore=benchmark \
+  -n auto \
   --deselect=tests/test_functional.py::test_functional[missing_timeout] \
   --deselect=tests/config/pylint_config/test_pylint_config_help.py::test_pylint_config_main_messages \
   --deselect=tests/pyreverse/test_writer.py::test_dot_files[packages_No_Name.dot] \

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-04 22:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 22:38 [rpms/pylint] epel10: Parallelize tests with pytest-xdist 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox