Skip to content

Commit 7a6c92d

Browse files
authored
Merge pull request #333 from SciML/qqy/toggle_benchmark
2 parents 837de33 + 81bef1a commit 7a6c92d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/BenchmarkPR.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,15 @@ jobs:
5151
- name: Create markdown table from benchmarks
5252
run: |
5353
benchpkgtable ${{ steps.extract-package-name.outputs.package_name }} --rev="${{github.event.repository.default_branch}},${{github.event.pull_request.head.sha}}" --input-dir=results/ --ratio > table.md
54+
echo '<details>' > body.md
55+
echo '<summary>Click to check benchmark results</summary>' >> body.md
5456
echo '### Benchmark Results' > body.md
5557
echo '' >> body.md
5658
echo '' >> body.md
5759
cat table.md >> body.md
5860
echo '' >> body.md
5961
echo '' >> body.md
62+
echo '</details>' >> body.md
6063
echo '### Benchmark Plots' >> body.md
6164
echo 'A plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR.' >> body.md
6265
echo 'Go to "Actions"->"Benchmark a pull request"->[the most recent run]->"Artifacts" (at the bottom).' >> body.md

0 commit comments

Comments
 (0)