Skip to content

Merge pull request #51 from camilogarciabotero/develop #252

Merge pull request #51 from camilogarciabotero/develop

Merge pull request #51 from camilogarciabotero/develop #252

Workflow file for this run

name: Run Benchmarks
on:
- push
- pull_request
jobs:
Benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: 1
- uses: julia-actions/julia-buildpkg@v1
- name: Install Dependencies
run: julia -e 'using Pkg; pkg"add PkgBenchmark [email protected]"'
- name: Instantiate
run: julia --project=benchmark/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Run Benchmarks
run: julia -e "using BenchmarkCI; BenchmarkCI.judge()"
- name: Post Results
if: ${{ github.event_name == 'pull_request'}}
run: julia -e "using BenchmarkCI; BenchmarkCI.postjudge()"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Print Judgement
run: julia -e 'using BenchmarkCI; BenchmarkCI.displayjudgement()'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}