diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index f66cd4568..b51b8c41c 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -199,10 +199,11 @@ jobs: fetch-depth: 0 - name: Compute base commit + id: hash run: | git fetch origin "${{ forgejo.base_ref }}" --depth=200 BASE_SHA=$(git merge-base HEAD "origin/${{ forgejo.base_ref }}") - echo "ASV_BASE_SHA=${BASE_SHA}" >> $FORGEJO_ENV + echo "ASV_BASE_SHA=${BASE_SHA}" >> $FORGEJO_OUTPUT - name: Install dependencies run: | @@ -221,6 +222,8 @@ jobs: aws s3 sync "s3://${ASV_S3_BUCKET}/asv/results" build/asv/results --delete || true - name: Run asv continuous via nox + env: + ASV_BASE_SHA: ${{ steps.hash.outputs.ASV_BASE_SHA }} run: | nox -s benchmark_regression