Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarleneJiang committed Aug 22, 2023
1 parent 342f2b6 commit 4e202c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions_scripts/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def alicebot_test() -> None:
# 整个命令
command = f"python {python_script_path} {module_name}"
print(f"command: {command}")# noqa: T201
result = subprocess.run(command, timeout=10, capture_output=True, text=True) # noqa: S603
result = subprocess.run(command, timeout=10, check=True, shell=True) # noqa: S602
print(f"result: {result}")# noqa: T201
if result.returncode != 0:
msg = f"脚本执行失败: {result.stdout}"
Expand Down

0 comments on commit 4e202c4

Please sign in to comment.