"sgl-kernel/git@developer.sourcefind.cn:zhaoyu6/sglang.git" did not exist on "d717e73ea8b5b8ef218aeba91b7e4184b179afc7"
Unverified Commit 72eaaf6d authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Fix nightly runs (#20352)

* Fix nightly runs

* Fix type

* Address review comment
parent f3a1efd1
......@@ -385,7 +385,11 @@ def create_circleci_config(folder=None):
if len(jobs) > 0:
config = {"version": "2.1"}
config["parameters"] = {"tests_to_run": {"type": "string", "default": test_list}}
config["parameters"] = {
# Only used to accept the parameters from the trigger
"nightly": {"type": "boolean", "default": False},
"tests_to_run": {"type": "string", "default": test_list},
}
config["jobs"] = {j.job_name: j.to_dict() for j in jobs}
config["workflows"] = {"version": 2, "run_tests": {"jobs": [j.job_name for j in jobs]}}
with open(os.path.join(folder, "generated_config.yml"), "w") as f:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment