Skip to content

Commit f6ad7bf

Browse files
kirbyfan64gvanrossum
authored andcommitted
Always run pytest tests in parallel (ref. #1673) (#1951)
1 parent 694dc09 commit f6ad7bf

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pytest.ini

+3
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ python_files = test*.py
99
# empty patterns for default python collector, to stick to our plugin's collector
1010
python_classes =
1111
python_functions =
12+
13+
# always run in parallel
14+
addopts = -nauto

test-requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
flake8
22
typed-ast
33
pytest>=2.8
4+
pytest-xdist>=1.13

0 commit comments

Comments
 (0)