Skip to content

Commit

Permalink
Trivial change, test PR
Browse files Browse the repository at this point in the history
  • Loading branch information
filchristou committed Feb 26, 2024
1 parent 3e9bac9 commit 8933246
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/benchmarkpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,22 @@ jobs:
run: julia -e "
using BenchmarkCI, PkgBenchmark;
jd=BenchmarkCI.judge(baseline=\"origin/${GITHUB_BASE_REF}\");
writeresults(\"targetbenchout.json\", jd.target_results);
writeresults(\"baselinebenchout.json\", jd.baseline_results);
"
- name: Post results if pull request
if: github.event_name == 'pull_request'
run: julia -e 'using BenchmarkCI; BenchmarkCI.postjudge()'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Add comment
if: github.event_name == 'pull_request'
run: gh pr comment "$NUMBER" --body "$BODY"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
BODY: >
This pr comment is testing.
**This should be bold**
- name: Run benchmark if push/merge
if: github.event_name == 'push'
run: julia --project=benchmark -e "
Expand All @@ -73,6 +81,6 @@ jobs:
"
- uses: actions/upload-artifact@v3
with:
name: Store benchmark result
path: ./*benchout.json
name: Store benchmark result
path: ./*benchout.json
3 changes: 1 addition & 2 deletions benchmark/benchmarks.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using BenchmarkTools
using Graphs
using BenchmarkTools, Graphs

const BENCHDIR = dirname(@__FILE__)

Expand Down

0 comments on commit 8933246

Please sign in to comment.