Skip to content

Commit f0c892d

Browse files
committed
Trivial change, test PR
1 parent 3e9bac9 commit f0c892d

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/benchmarkpr.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,22 @@ jobs:
5252
run: julia -e "
5353
using BenchmarkCI, PkgBenchmark;
5454
jd=BenchmarkCI.judge(baseline=\"origin/${GITHUB_BASE_REF}\");
55-
writeresults(\"targetbenchout.json\", jd.target_results);
56-
writeresults(\"baselinebenchout.json\", jd.baseline_results);
5755
"
5856
- name: Post results if pull request
5957
if: github.event_name == 'pull_request'
6058
run: julia -e 'using BenchmarkCI; BenchmarkCI.postjudge()'
6159
env:
6260
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
- name: Add comment
62+
if: github.event_name == 'pull_request'
63+
run: gh pr comment "$NUMBER" --body "$BODY"
64+
env:
65+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
GH_REPO: ${{ github.repository }}
67+
NUMBER: ${{ github.event.pull_request.number }}
68+
BODY: >
69+
This pr comment is testing.
70+
**This should be bold**
6371
- name: Run benchmark if push/merge
6472
if: github.event_name == 'push'
6573
run: julia --project=benchmark -e "

benchmark/benchmarks.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using BenchmarkTools
2-
using Graphs
1+
using BenchmarkTools, Graphs
32

43
const BENCHDIR = dirname(@__FILE__)
54

0 commit comments

Comments
 (0)