Skip to content

Commit 83c73c9

Browse files
hakkeltlostella
andauthored
fix benchmarking CI job (#154)
Co-authored-by: Lorenzo Stella <lorenzostella@gmail.com>
1 parent 287e9b4 commit 83c73c9

File tree

2 files changed

+4
-92
lines changed

2 files changed

+4
-92
lines changed

.github/workflows/benchmark.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
11
name: Benchmark
22
on:
33
- pull_request
4+
permissions:
5+
pull-requests: write # needed to post comments
46
jobs:
57
benchmark:
68
name: Benchmark
79
runs-on: ubuntu-latest
810
steps:
9-
- uses: actions/checkout@v4
10-
- uses: julia-actions/setup-julia@latest
11+
- uses: MilesCranmer/AirspeedVelocity.jl@action-v1
1112
with:
12-
version: "1"
13-
- run: git fetch origin '+refs/heads/master:refs/remotes/origin/master'
14-
- run: git branch master origin/master
15-
- run: |
16-
julia --project=benchmark -e '
17-
using Pkg
18-
Pkg.develop(PackageSpec(path=pwd()))
19-
Pkg.instantiate()'
20-
- run: julia --project=benchmark benchmark/runbenchmarks.jl
13+
julia-version: '1'

benchmark/runbenchmarks.jl

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)