Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lapp0 committed May 17, 2024
1 parent b9b47a8 commit 411653a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/asv_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<<EOF' >> $GITHUB_ENV
asv compare -f 1.1 upstream/main HEAD >> $GITHUB_ENV
Expand Down

0 comments on commit 411653a

Please sign in to comment.