Skip to content

Commit 624ddd7

Browse files
Resolve benchmark MTKBase before loading MTK
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
1 parent 34ee918 commit 624ddd7

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ 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"

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)