Skip to content

Commit

Permalink
Merge pull request #1573 from voidking/main
Browse files Browse the repository at this point in the history
bugfix: At least 8 rounds are required to run all QA actions
  • Loading branch information
geekan authored Nov 6, 2024
2 parents f0a9042 + 7464b9f commit f11e671
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 2 additions & 0 deletions metagpt/software_company.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down
Loading

0 comments on commit f11e671

Please sign in to comment.