Skip to content

Commit

Permalink
Use only one worker when testing sauron
Browse files Browse the repository at this point in the history
  • Loading branch information
sip-21 committed Oct 4, 2024
1 parent 8f9d1a0 commit 32f2553
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ci/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,14 @@ def run_one(p: Plugin, workflow: str) -> bool:

logging.info(f"Virtualenv at {vpath}")

num_workers = 1 if p.name == "sauron" else 5
cmd = [
str(pytest_path),
"-vvv",
"--timeout=600",
"--timeout-method=thread",
"--color=yes",
"-n=1",
f"-n={num_workers}",
]

logging.info(f"Running `{' '.join(cmd)}` in directory {p.path.resolve()}")
Expand Down

0 comments on commit 32f2553

Please sign in to comment.