Merge pull request 'asv runners have the same machine name now' (#388) from mngrif-asv-test into master
CI / lint (push) Successful in 16s
CI / quality (push) Successful in 18s
CI / build (push) Successful in 16s
CI / security (push) Successful in 32s
CI / typecheck (push) Successful in 49s
CI / benchmark-regression (push) Has been skipped
CI / integration_tests (push) Successful in 3m47s
CI / unit_tests (push) Successful in 9m42s
CI / docker (push) Successful in 16s
CI / benchmark-publish (push) Successful in 12m24s
CI / coverage (push) Has been cancelled
CI / lint (push) Successful in 16s
CI / quality (push) Successful in 18s
CI / build (push) Successful in 16s
CI / security (push) Successful in 32s
CI / typecheck (push) Successful in 49s
CI / benchmark-regression (push) Has been skipped
CI / integration_tests (push) Successful in 3m47s
CI / unit_tests (push) Successful in 9m42s
CI / docker (push) Successful in 16s
CI / benchmark-publish (push) Successful in 12m24s
CI / coverage (push) Has been cancelled
Reviewed-on: #388 Reviewed-by: Brent Edwards <brent.edwards@cleverthis.com>
This commit was merged in pull request #388.
This commit is contained in:
+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