写死test_groups.json的绝对路径
All checks were successful
autograde-final-vibevault / check-trigger (push) Successful in 4s
autograde-final-vibevault / grade (push) Has been skipped

This commit is contained in:
liyitian 2025-12-14 19:10:00 +08:00
parent d98214704d
commit eeed1b0273

View File

@ -24,6 +24,8 @@ def parse_args():
def load_test_groups(groups_file: str) -> Dict[str, Dict[str, any]]:
"""加载测试分组配置"""
# 直接写死文件在容器里的绝对路径(从报错里的路径推导)
groups_file = "/workspace/liyitian/231106111-lyt/autograde/test_groups.json"
with open(groups_file, 'r', encoding='utf-8') as f:
return json.load(f)