Skip to content

Commit 9bbf238

Browse files
authored
Improve code coverage with DispatchDoctor settings (#40)
1 parent 7b3f3b1 commit 9bbf238

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
1313
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1414
MathOptBenchmarkInstances = "f7f8d0a1-fd34-491e-a7ac-a4cf52f91fe5"
1515
MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
16+
Preferences = "21216c6a-2e73-6563-6e65-726566657250"
1617
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1718
SCS = "c946c3f1-0d1f-5ce8-9dea-7daa1f7e2d13"
1819
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

test/runtests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
using Test
2+
using Preferences: set_preferences!
3+
# see https://github.com/MilesCranmer/DispatchDoctor.jl?tab=readme-ov-file#-usage-in-packages
4+
set_preferences!("CoolPDLP", "default_codegen_level" => "min")
25

36
@testset verbose = true "CoolPDLP" begin
47
moisuite = get(ENV, "COOLPDLP_TEST_MOISUITE", nothing)

0 commit comments

Comments
 (0)