Skip to content

Commit

Permalink
Setup BenchmarkCI (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf authored Feb 19, 2020
1 parent 5d3cda2 commit ff2493f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Run benchmarks

on:
pull_request:

jobs:
Benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: 1.3
- name: Install dependencies
run: julia -e 'using Pkg; pkg"add PkgBenchmark BenchmarkCI@0.1"'
- name: Run benchmarks
run: julia -e 'using BenchmarkCI; BenchmarkCI.judge()'
- name: Post results
run: julia -e 'using BenchmarkCI; BenchmarkCI.postjudge()'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
*.jl.cov
*.jl.*.cov
*.jl.mem
/.benchmarkci
/Manifest.toml
/benchmark/*.json
/benchmark/Manifest.toml
/docs/Manifest.toml

0 comments on commit ff2493f

Please sign in to comment.