Skip to content

Commit 4a0de7f

Browse files
Merge pull request #4747 from ChrisRackauckas-Claude/agent/fix-benchmark-load-order
Resolve benchmark MTKBase before runner startup
2 parents 2626464 + cf3e05d commit 4a0de7f

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ jobs:
2323
with:
2424
julia-version: "${{ matrix.version }}"
2525
script: "benchmark/benchmarks.jl"
26-
extra-pkgs: "ModelingToolkitStandardLibrary,OrdinaryDiffEqDefault"
26+
extra-pkgs: "${{ github.event.pull_request.head.repo.clone_url }}#${{ github.event.pull_request.head.sha }}:lib/ModelingToolkitBase,ModelingToolkitStandardLibrary,OrdinaryDiffEqDefault"
27+
job-summary: "${{ github.event.pull_request.head.repo.fork }}"

benchmark/benchmarks.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
import Pkg
2-
3-
Pkg.develop(; path = joinpath(@__DIR__, "..", "lib", "ModelingToolkitBase"))
4-
51
using ModelingToolkit, BenchmarkTools
62
using ModelingToolkitStandardLibrary
73
using ModelingToolkitStandardLibrary.Electrical

0 commit comments

Comments
 (0)