Skip to content

Commit

Permalink
Merge 1c22b5f into f2e73eb
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychen94 committed Jan 31, 2020
2 parents f2e73eb + 1c22b5f commit 73eb732
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 2 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(baseline = "HEAD")'
- 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
Expand Up @@ -5,3 +5,5 @@ _build/
_static/
_templates
/Manifest.toml
/.benchmarkci
/benchmark/*.json
1 change: 1 addition & 0 deletions benchmark/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/Manifest.toml
6 changes: 6 additions & 0 deletions benchmark/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[deps]
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
ImageMagick = "6218d12a-5da1-5696-b52f-db25d2ecc6d1"
Images = "916415d5-f1e6-5110-898d-aaa5f9f070e0"
PkgBenchmark = "32113eaa-f34f-5b0d-bd6c-c81e245fc73d"
TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990"
2 changes: 0 additions & 2 deletions benchmark/REQUIRE

This file was deleted.

0 comments on commit 73eb732

Please sign in to comment.