Skip to content

Commit a7b6bdb

Browse files
committed
Simplify benchmark run
Remove manifest, and automatically develop the package when running the benchmarks, similarly to what happens when building the docs.
1 parent d1ac981 commit a7b6bdb

File tree

3 files changed

+10
-468
lines changed

3 files changed

+10
-468
lines changed

.github/workflows/benchmark.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,16 @@ jobs:
88
benchmark:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
- uses: julia-actions/setup-julia@v1
1313
with:
1414
version: '1.8.5'
15-
- name: Cache artifacts
16-
uses: actions/cache@v2
17-
with:
18-
path: |
19-
~/.julia/artifacts
20-
~/.julia/registries
21-
key: ${{ runner.os }}-benchmarks-artifacts-${{ hashFiles('**/Project.toml') }}
22-
restore-keys: ${{ runner.os }}-benchmarks-artifacts
15+
- uses: julia-actions/cache@v1
2316
- name: Run benchmarks
2417
shell: julia --color=yes --project=benchmark {0}
2518
run: |
2619
using Pkg
20+
Pkg.develop(; path=".")
2721
Pkg.instantiate()
2822
2923
using PkgBenchmark, BenchmarkCI

0 commit comments

Comments
 (0)