From 411653a271c07975ffda4502c2e9ef5c0d3cb564 Mon Sep 17 00:00:00 2001 From: Andrew Lapp Date: Fri, 17 May 2024 09:04:35 -0500 Subject: [PATCH] fix --- .github/workflows/asv_pr.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/asv_pr.yml b/.github/workflows/asv_pr.yml index 22c0b0127..8a9155979 100644 --- a/.github/workflows/asv_pr.yml +++ b/.github/workflows/asv_pr.yml @@ -9,6 +9,7 @@ permissions: pull-requests: write # Write access for pull requests env: + ASV_CONF_DIR: "benchmarks/asv.conf.json" PYTHON_VERSION: "3.10" WORKING_DIR: ${{ github.workspace }}/benchmarks ARTIFACTS_DIR: ${{ github.workspace }}/artifacts @@ -36,10 +37,10 @@ jobs: # adapted from pandas asv_pr.yml # extracting the regex, see https://stackoverflow.com/a/36798723 REGEX=$(echo "$COMMENT" | sed -n "s/^.*-b\s*\(\S*\).*$/\1/p") - asv check -E existing --config benchmarks/asv.conf.json + asv check -E existing git remote add upstream ${{ vars.TARGET_REPO }} git fetch upstream - asv machine --yes --config benchmarks/asv.conf.json + asv machine --yes asv continuous -f 1.1 -b $REGEX upstream/main HEAD echo 'BENCH_OUTPUT<> $GITHUB_ENV asv compare -f 1.1 upstream/main HEAD >> $GITHUB_ENV