mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-27 14:25:20 +02:00
bugfix: If --run-tests is enabled, at least 8 rounds are required to run all QA actions.
This commit is contained in:
parent
f0a904202c
commit
bfe15e34a8
1 changed files with 2 additions and 0 deletions
|
|
@ -60,6 +60,8 @@ def generate_repo(
|
|||
|
||||
if run_tests:
|
||||
company.hire([QaEngineer()])
|
||||
if n_round < 8:
|
||||
n_round = 8 # If `--run-tests` is enabled, at least 8 rounds are required to run all QA actions.
|
||||
else:
|
||||
stg_path = Path(recover_path)
|
||||
if not stg_path.exists() or not str(stg_path).endswith("team"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue