mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-03 22:38:48 +08:00
more cpus for pytest (#468)
This commit is contained in:
1 parent
18d3281538
commit
a2c49b0c16
1 file changed
+2
-1
+2
-1
@@ -40,6 +40,7 @@ dependencies = [
|
|||||||
"protobuf==3.20.0",
|
"protobuf==3.20.0",
|
||||||
"pylint==2.13.4",
|
"pylint==2.13.4",
|
||||||
"pytest==7.1.2",
|
"pytest==7.1.2",
|
||||||
|
"pytest-xdist==2.5.0",
|
||||||
"python-socketio==5.7.1",
|
"python-socketio==5.7.1",
|
||||||
"rich==12.5.1",
|
"rich==12.5.1",
|
||||||
"tensorboard==2.9.0",
|
"tensorboard==2.9.0",
|
||||||
@@ -104,7 +105,7 @@ disable = [
|
|||||||
|
|
||||||
#pytest
|
#pytest
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
addopts = "--typeguard-packages=nerfactory --torchtyping-patch-typeguard --disable-warnings --ignore=tests/cuda"
|
addopts = "-n=4 --typeguard-packages=nerfactory --torchtyping-patch-typeguard --disable-warnings --ignore=tests/cuda"
|
||||||
testpaths = [
|
testpaths = [
|
||||||
"tests",
|
"tests",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in new issue
Block a user