Issue 274: Add continuous benchmark structure #1
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 EpiAware benchmarks | ||
on: | ||
pull_request: | ||
merge_group: | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
Check failure on line 8 in .github/workflows/benchmark-EpiAware.yaml GitHub Actions / Run EpiAware benchmarksInvalid workflow file
|
||
cancel-in-progress: true | ||
jobs: | ||
Benchmark: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: EpiAware | ||
sparse-checkout-cone-mode: false | ||
- name: Move EpiAware to root | ||
run: mv EpiAware/* . | ||
- uses: julia-actions/setup-julia@v1 | ||
- uses: julia-actions/cache@v1 | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- name: Setup benchmark environment | ||
run: julia --project=benchmark -e 'using Pkg; Pkg.instantiate()' | ||
- name: Run benchmarks | ||
run: julia --project=benchmark -e 'using BenchmarkCI; BenchmarkCI.judge(baseline = "origin/main")' | ||
- name: Post results | ||
run: julia --project=benchmark -e 'using BenchmarkCI; BenchmarkCI.postjudge()' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |