fix(benchmarks): treat warnings as errors in benchmarks

This commit is contained in:
Umut
2021-10-07 13:31:58 +03:00
parent 6affa54473
commit 57b3be2f6d
34 changed files with 330 additions and 170 deletions

View File

@@ -261,7 +261,8 @@ def main():
scripts = list(base.glob("*.py"))
# Create a directory to store temporary scripts
os.makedirs(".benchmarks/scripts", exist_ok=True)
shutil.rmtree(".benchmarks/scripts", ignore_errors=True)
shutil.copytree(base, ".benchmarks/scripts")
# Process each script under the base directory
for path in scripts: