From 55064b4b7141a59d9ae1ccc40c1b0b7d539a26b4 Mon Sep 17 00:00:00 2001 From: Andrew Lapp Date: Fri, 17 May 2024 09:14:25 -0500 Subject: [PATCH] fix --- .github/workflows/asv_pr.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/asv_pr.yml b/.github/workflows/asv_pr.yml index d4627e14c..81d1fcb28 100644 --- a/.github/workflows/asv_pr.yml +++ b/.github/workflows/asv_pr.yml @@ -22,8 +22,11 @@ jobs: - run: echo "REGEX=benchmarks/asv.conf.json" >> $GITHUB_ENV - - name: Checkout repository + - name: Checkout repository, set upstream uses: actions/checkout@v3 + run: | + git remote add upstream ${{ github.repository }}" + git fetch upstream - name: Set up Python uses: actions/setup-python@v4 @@ -41,8 +44,6 @@ jobs: # extracting the regex, see https://stackoverflow.com/a/36798723 REGEX=$(echo "$COMMENT" | sed -n "s/^.*-b\s*\(\S*\).*$/\1/p") asv check -E existing - git remote add upstream ${{ env.TARGET_REPO }} - git fetch upstream asv machine --yes asv continuous -f 1.1 -b $REGEX upstream/main HEAD echo 'BENCH_OUTPUT<> $GITHUB_ENV