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 bff7014 commit 55064b4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/asv_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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<<EOF' >> $GITHUB_ENV
Expand Down

0 comments on commit 55064b4

Please sign in to comment.