From a9f6d69e74dbc95254d01ec77d53bc495434faf8 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Fri, 6 Oct 2023 18:54:49 +0200 Subject: [PATCH] Fix branch becnhmarks path --- .github/workflows/benchmarks.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index dc53c85487..788ed6163c 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -79,8 +79,8 @@ jobs: cargo bench --bench generic --bench special -- --save-baseline $NORMALIZED_BRANCH_NAME cargo run --bin summarize pack $NORMALIZED_BRANCH_NAME mkdir criterion-results - cp target/criterion/NORMALIZED_BRANCH_NAME.json criterion-results/ - cp target/criterion/NORMALIZED_BRANCH_NAME.json criterion-results/$GITHUB_SHA.json + cp ../../target/criterion/NORMALIZED_BRANCH_NAME.json criterion-results/ + cp ../../target/criterion/NORMALIZED_BRANCH_NAME.json criterion-results/$GITHUB_SHA.json # TODO: can we optionally download if it only might fail? #- name: PR; download bench results for compare @@ -106,7 +106,7 @@ jobs: cargo bench --bench generic --bench special -- --save-baseline branch '(special|stdb_module|stdb_raw)' cargo run --bin summarize pack branch mkdir criterion-results - cp target/criterion/branch.json criterion-results/pr-$PR_NUMBER.json + cp ../../target/criterion/branch.json criterion-results/pr-$PR_NUMBER.json - name: PR; compare benchmarks if: github.event.inputs.pr_number