Skip to content

Commit 809e9bb

Browse files
committed
update pytest to only use two workers
1 parent 083d6d5 commit 809e9bb

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

pyproject.toml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,25 +43,15 @@ content-type = "text/markdown"
4343

4444
[tool.pytest.ini_options]
4545
# agressive parallel options
46-
addopts = "-ra --dist worksteal -nauto" # Defaults to parallel tests, comment out if you want serial.
46+
addopts = "-ra -n2" # Defaults to 2 parallel tests, comment out if you want serial.
47+
# addopts = "-ra --dist worksteal -nauto" # Defaults to parallel tests, comment out if you want serial.
4748
# addopts = "-ra -v --dist worksteal -nauto" # parallel run with verbose output.
48-
# addopts="-ra --dist worksteal -nauto --run-slow-skip" # run skip tests and skip subset tests
49-
# addopts="-ra --dist worksteal -nauto -m 'not slow'" # on run fast tests
5049
# addopts = "-ra --dist worksteal -nauto -q" # supress output during testing
5150

5251
# Regular parallel options
5352
# addopts = "-ra -nauto" # Defaults to parallel tests, comment out if you want serial.
54-
# addopts="-ra -nauto --run-slow-skip" # run skip tests and skip subset tests
55-
# addopts="-ra -nauto -m 'not slow'" # on run fast tests
5653
# addopts = "-ra -nauto -q" # supress output during testing
5754

58-
59-
# markers = [
60-
# "slow: marks tests as slow (deselect with '-m \"not slow\"')",
61-
# "subset: marks tests as beings a subset of a slow_skip test that is created for fast parallel executaion, skipped if running slow_skip.",
62-
# "slow_skip: marks tests as slow_skip, which are also marked with skip\n(select with 'pytest --run-skipped', which will skip subtest.)",
63-
# ]
64-
6555
minversion = "6.0"
6656
testpaths = ["tests"]
6757
# Customizing test discovery patterns

0 commit comments

Comments
 (0)