Skip to content

Commit

Permalink
fix: fix MTK indexing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Nov 19, 2024
1 parent f5990ad commit ea97caf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/mtk_cache_indexing_tests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@testitem "Modeling Toolkit Cache Indexing" tags=[:downstream] begin
using ModelingToolkit
using ModelingToolkit: t_nounits as t
using SymbolicIndexingInterface
import NonlinearSolveBase, NonlinearSolveFirstOrder

@parameters p d
Expand Down
4 changes: 3 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ using ReTestItems, NonlinearSolve, Hwloc, InteractiveUtils, Pkg
const GROUP = lowercase(get(ENV, "GROUP", "All"))

const EXTRA_PKGS = Pkg.PackageSpec[]
(GROUP == "all" || GROUP == "downstream") &&
if GROUP == "all" || GROUP == "downstream"
push!(EXTRA_PKGS, Pkg.PackageSpec("ModelingToolkit"))
push!(EXTRA_PKGS, Pkg.PackageSpec("SymbolicIndexingInterface"))
end
length(EXTRA_PKGS) 1 && Pkg.add(EXTRA_PKGS)

const RETESTITEMS_NWORKERS = parse(
Expand Down

0 comments on commit ea97caf

Please sign in to comment.