trigger test - do not merge #358
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run benchmarks | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- 'EpiAware/**' | |
- 'benchmark/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
Benchmark: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v1 | |
- uses: julia-actions/cache@v1 | |
- name: Install dependencies | |
run: | | |
julia --project=benchmark -e 'using Pkg; | |
Pkg.rm("EpiAware"); | |
Pkg.add(url="https://github.com/SamuelBrand1/BenchmarkCI.jl"); | |
Pkg.resolve(); | |
Pkg.instantiate(); | |
Pkg.develop(path = "./EpiAware"); | |
Pkg.update()' | |
- name: Run benchmarks | |
run: julia --project=benchmark -e 'using BenchmarkCI; BenchmarkCI.judge(; baseline = "origin/main", retune = true)' | |
- name: Post results | |
run: julia --project=benchmark -e 'using BenchmarkCI; BenchmarkCI.postjudge()' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |