Recovering lost PR 959 #1173
This file contains hidden or 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: Benchmarks | |
| on: [pull_request] | |
| jobs: | |
| benchmark: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Julia | |
| uses: julia-actions/setup-julia@v1 | |
| with: | |
| version: "1.11" | |
| - 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 = "origin/main")' | |
| - name: Print results | |
| run: julia -e 'using BenchmarkCI; BenchmarkCI.displayjudgement()' |