Skip to content

Commit 4aec999

Browse files
author
Vladimir Kotal
committed
use pytest-xdist to run the tests in parallel
1 parent 0ab78dc commit 4aec999

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

opengrok-tools/setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
test=pytest
33

44
[tool:pytest]
5-
addopts = -v --color=yes
5+
addopts = -v --color=yes --numprocesses=auto
66
testpaths = src/test/python

opengrok-tools/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def readme():
4646
tests_require=[
4747
'pytest',
4848
'pygit2',
49+
'pytest-xdist',
4950
],
5051
entry_points={
5152
'console_scripts': [

0 commit comments

Comments
 (0)