mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-24 22:39:02 -06:00
Set a stricter set of checks for pytest, and try changing how we distribute tests to workers
This commit is contained in:
@@ -265,6 +265,11 @@ skip = "src-ui/src/locale/*,src-ui/pnpm-lock.yaml,src-ui/e2e/*,src/paperless_mai
|
|||||||
minversion = "9.0"
|
minversion = "9.0"
|
||||||
pythonpath = [ "src" ]
|
pythonpath = [ "src" ]
|
||||||
|
|
||||||
|
strict_config = true
|
||||||
|
strict_markers = true
|
||||||
|
strict_parametrization_ids = true
|
||||||
|
strict_xfail = true
|
||||||
|
|
||||||
testpaths = [
|
testpaths = [
|
||||||
"src/documents/tests/",
|
"src/documents/tests/",
|
||||||
"src/paperless/tests/",
|
"src/paperless/tests/",
|
||||||
@@ -283,8 +288,9 @@ addopts = [
|
|||||||
"--cov-report=xml",
|
"--cov-report=xml",
|
||||||
"--numprocesses=auto",
|
"--numprocesses=auto",
|
||||||
"--maxprocesses=16",
|
"--maxprocesses=16",
|
||||||
"--quiet",
|
"--dist=loadscope",
|
||||||
"--durations=50",
|
"--durations=50",
|
||||||
|
"--durations-min=0.5",
|
||||||
"--junitxml=junit.xml",
|
"--junitxml=junit.xml",
|
||||||
"-o",
|
"-o",
|
||||||
"junit_family=legacy",
|
"junit_family=legacy",
|
||||||
|
|||||||
Reference in New Issue
Block a user