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