Skip to content

Commit

Permalink
Merge branch 'main' into fix-otlp-consumer-interface
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip authored Oct 18, 2023
2 parents 159405b + 41a68c3 commit 92f1a29
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
go-version-file: go.mod
# Version: https://github.com/WillAbides/benchdiff-action/releases/tag/v0.3.3
- uses: WillAbides/benchdiff-action@4d1d267fa96763646dd7c0d58e242817ce392c61
## As long as we cannot use write permissions on forked pull requests, then let's avoid failing
continue-on-error: true
id: benchdiff
with:
benchdiff_version: 0.9.1
Expand All @@ -67,3 +69,26 @@ jobs:
--tolerance=20
--benchmem
--debug
- name: Summary
run: |
echo "${{ steps.benchdiff.outputs.benchstat_output }}" > benchdiff-report.md
{
echo "## Benchdiff Results"
echo ""
echo "HEAD: ${{ steps.benchdiff.outputs.head_sha }}"
echo "Base: ${{ steps.benchdiff.outputs.base_sha }}"
echo "Degraded: ${{ steps.benchdiff.outputs.degraded_result }}"
echo ""
echo "<details>"
echo "<summary>Results</summary>"
echo ""
echo "${{ steps.benchdiff.outputs.benchstat_output }}"
echo ""
echo "</details>"
} >> $GITHUB_STEP_SUMMARY
- uses: actions/upload-artifact@v3
with:
name: benchdiff-report
path: benchdiff-report.md

0 comments on commit 92f1a29

Please sign in to comment.