Skip to content

Issue 274: Add continuous benchmark structure #1

Issue 274: Add continuous benchmark structure

Issue 274: Add continuous benchmark structure #1

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

View workflow run for this annotation

GitHub Actions / Run EpiAware benchmarks

Invalid workflow file

The workflow is not valid. .github/workflows/benchmark-EpiAware.yaml (Line: 8, Col: 14): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workflow
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 }}