Some general pytest cleanup#1021
Conversation
|
| skip_debug: skip test if E2B_DEBUG is set. | ||
|
|
||
| asyncio_mode=auto | ||
| addopts = "--import-mode=importlib" "--numprocesses=4" |
There was a problem hiding this comment.
What was the reason for changing the numprocesses?
(In the past it might have been to reduce load?)
There was a problem hiding this comment.
This configures options that are always added when running pytest. This option isn't super great locally, but is super useful when running CI, so I moved it into the Makefile. End result - running pytest won't parallelize by default, but CI will still use 4 processes
make testoption that runs tests