dev #10

Merged
李衍志523370910113 merged 238 commits from dev into master 2025-03-05 16:20:39 +08:00
7 changed files with 9 additions and 13 deletions
Showing only changes of commit 279182f659 - Show all commits

View File

@ -1,9 +1,5 @@
import json
import os
from pathlib import Path
from typing import Any, List
import rtoml
from typing import List
from joj3_config_generator.models import joj1, repo, result, task
from joj3_config_generator.processers.joj1 import get_joj1_run_stage
@ -44,7 +40,7 @@ def convert(repo_conf: repo.Config, task_conf: task.Config) -> result.Config:
# Construct healthcheck stage
if (
not repo_conf.force_skip_heatlh_check_on_test
not repo_conf.force_skip_health_check_on_test
or os.environ.get("PYTEST_CURRENT_TEST") is None
):
healthcheck_stage = get_healthcheck_config(repo_conf)

View File

@ -1,5 +1,5 @@
from pathlib import Path
from typing import List, Optional
from typing import List
from pydantic import BaseModel, Field
@ -20,7 +20,7 @@ class Config(BaseModel):
files: Files = Files()
sandbox_token: str = Field("")
max_total_score: int = Field(100)
force_skip_heatlh_check_on_test: bool = False
force_skip_health_check_on_test: bool = False
groups: Groups = Groups()
root: Path = Path(".")
path: Path = Path("repo.toml")

View File

@ -1 +1 @@
force_skip_heatlh_check_on_test = true
force_skip_health_check_on_test = true

View File

@ -1 +1 @@
force_skip_heatlh_check_on_test = true
force_skip_health_check_on_test = true

View File

@ -1 +1 @@
force_skip_heatlh_check_on_test = true
force_skip_health_check_on_test = true

View File

@ -1 +1 @@
force_skip_heatlh_check_on_test = true
force_skip_health_check_on_test = true

View File

@ -1 +1 @@
force_skip_heatlh_check_on_test = true
force_skip_health_check_on_test = true