asv runners have the same machine name now #388
+24
-2
@@ -701,10 +701,21 @@ def benchmark(session: nox.Session):
|
||||
"""Run Airspeed Velocity benchmarks and publish results."""
|
||||
session.install("-e", ".[tests]")
|
||||
config_path = "asv.conf.json"
|
||||
session.run("asv", "machine", "--yes", f"--config={config_path}")
|
||||
session.run(
|
||||
"asv",
|
||||
"machine",
|
||||
"--machine=forgejo-runner",
|
||||
"--os=Linux_6.x",
|
||||
"--arch=x86_64",
|
||||
"--num_cpu=32",
|
||||
"--ram=32GB",
|
||||
"--cpu=AMD",
|
||||
f"--config={config_path}",
|
||||
)
|
||||
session.run(
|
||||
"asv",
|
||||
"run",
|
||||
"--machine=forgejo-runner",
|
||||
"--append-samples",
|
||||
"--show-stderr",
|
||||
"--verbose",
|
||||
@@ -720,10 +731,21 @@ def benchmark_regression(session: nox.Session):
|
||||
session.install("-e", ".[tests]")
|
||||
config_path = "asv.conf.json"
|
||||
asv_base_sha = os.environ.get("ASV_BASE_SHA")
|
||||
session.run("asv", "machine", "--yes", f"--config={config_path}")
|
||||
session.run(
|
||||
"asv",
|
||||
"machine",
|
||||
"--machine=forgejo-runner",
|
||||
"--os=Linux_6.x",
|
||||
"--arch=x86_64",
|
||||
"--num_cpu=32",
|
||||
"--ram=32GB",
|
||||
"--cpu=AMD",
|
||||
f"--config={config_path}",
|
||||
)
|
||||
session.run(
|
||||
"asv",
|
||||
"continuous",
|
||||
"--machine=forgejo-runner",
|
||||
"--append-samples",
|
||||
"--show-stderr",
|
||||
"--verbose",
|
||||
|
||||
Reference in New Issue
Block a user