Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/OptimizationAuglag/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"

[extras]
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
Expand All @@ -23,6 +24,7 @@ OptimizationBase = {path = "../OptimizationBase"}
OptimizationOptimisers = {path = "../OptimizationOptimisers"}

[compat]
SciMLTesting = "2.1"
Pkg = "1"
SafeTestsets = "0.1"
ForwardDiff = "1.0.1"
Expand All @@ -37,4 +39,4 @@ Test = "1.10.0"
julia = "1.10"

[targets]
test = ["Test", "ForwardDiff", "MLUtils", "OptimizationOptimisers", "Random", "SafeTestsets", "Pkg"]
test = ["SciMLTesting", "Test", "ForwardDiff", "MLUtils", "OptimizationOptimisers", "Random", "SafeTestsets", "Pkg"]
4 changes: 3 additions & 1 deletion lib/OptimizationAuglag/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
[deps]
OptimizationBase = "bca83a33-5cc9-4baa-983d-23429ab6bcbb"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
OptimizationAuglag = "2ea93f80-9333-43a1-a68d-1f53b957a421"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
OptimizationAuglag = {path = "../.."}
OptimizationBase = {path = "../../../OptimizationBase"}

[compat]
OptimizationBase = "5"
Aqua = "0.8"
JET = "0.9, 0.10, 0.11"
julia = "1.10"
Expand Down
13 changes: 5 additions & 8 deletions lib/OptimizationAuglag/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
using Pkg
using SafeTestsets
using SciMLTesting

const TEST_GROUP = get(ENV, "OPTIMIZATION_TEST_GROUP", "All")

# QA (Aqua + JET) runs in an isolated environment (test/qa) so its tooling deps
# never enter the main test target's resolve. On Julia < 1.11 the [sources] table
# is ignored, so develop the package by path to test the PR branch code.
# QA (Aqua + JET) runs in an isolated environment (test/qa). activate_group_env
# develops the package under test (via `parent`) plus its in-repo `[sources]` siblings
# by path — native `[sources]` on Julia >= 1.11, the develop_sources! backport on 1.10.
function activate_qa_env()
Pkg.activate(joinpath(@__DIR__, "qa"))
if VERSION < v"1.11.0-DEV.0"
Pkg.develop(PackageSpec(path = dirname(@__DIR__)))
end
return Pkg.instantiate()
return activate_group_env(joinpath(@__DIR__, "qa"))
end

if TEST_GROUP == "Core" || TEST_GROUP == "All"
Expand Down
4 changes: 3 additions & 1 deletion lib/OptimizationBBO/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
LogExpFunctions = "2ab3a3ac-af41-5b50-aa03-7779005ae688"

[extras]
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Expand All @@ -21,6 +22,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
OptimizationBase = {path = "../OptimizationBase"}

[compat]
SciMLTesting = "2.1"
BlackBoxOptim = "0.6.3"
LogExpFunctions = "0.3.28"
OptimizationBase = "5"
Expand All @@ -33,4 +35,4 @@ Test = "1.10"
julia = "1.10"

[targets]
test = ["Random", "Test", "SafeTestsets", "Pkg"]
test = ["SciMLTesting", "Random", "Test", "SafeTestsets", "Pkg"]
4 changes: 3 additions & 1 deletion lib/OptimizationBBO/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
[deps]
OptimizationBase = "bca83a33-5cc9-4baa-983d-23429ab6bcbb"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
OptimizationBBO = "3e6eede4-6085-4f62-9a71-46d9bc1eb92b"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
OptimizationBBO = {path = "../.."}
OptimizationBase = {path = "../../../OptimizationBase"}

[compat]
OptimizationBase = "5"
Aqua = "0.8"
JET = "0.9, 0.10, 0.11"
julia = "1.10"
Expand Down
13 changes: 5 additions & 8 deletions lib/OptimizationBBO/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
using Pkg
using SafeTestsets
using SciMLTesting

const TEST_GROUP = get(ENV, "OPTIMIZATION_TEST_GROUP", "All")

# QA (Aqua + JET) runs in an isolated environment (test/qa) so its tooling deps
# never enter the main test target's resolve. On Julia < 1.11 the [sources] table
# is ignored, so develop the package by path to test the PR branch code.
# QA (Aqua + JET) runs in an isolated environment (test/qa). activate_group_env
# develops the package under test (via `parent`) plus its in-repo `[sources]` siblings
# by path — native `[sources]` on Julia >= 1.11, the develop_sources! backport on 1.10.
function activate_qa_env()
Pkg.activate(joinpath(@__DIR__, "qa"))
if VERSION < v"1.11.0-DEV.0"
Pkg.develop(PackageSpec(path = dirname(@__DIR__)))
end
return Pkg.instantiate()
return activate_group_env(joinpath(@__DIR__, "qa"))
end

if TEST_GROUP == "Core" || TEST_GROUP == "All"
Expand Down
3 changes: 0 additions & 3 deletions lib/OptimizationBase/test/qa/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
OptimizationBase = {path = "../.."}

[compat]
Aqua = "0.8"
JET = "0.9, 0.10, 0.11"
Expand Down
4 changes: 3 additions & 1 deletion lib/OptimizationCMAEvolutionStrategy/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"

[extras]
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand All @@ -17,6 +18,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
OptimizationBase = {path = "../OptimizationBase"}

[compat]
SciMLTesting = "2.1"
Pkg = "1"
SafeTestsets = "0.1"
Test = "1"
Expand All @@ -27,4 +29,4 @@ SciMLBase = "2.122.1, 3"
Reexport = "1.2"

[targets]
test = ["Test", "SafeTestsets", "Pkg"]
test = ["SciMLTesting", "Test", "SafeTestsets", "Pkg"]
4 changes: 3 additions & 1 deletion lib/OptimizationCMAEvolutionStrategy/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
[deps]
OptimizationBase = "bca83a33-5cc9-4baa-983d-23429ab6bcbb"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
OptimizationCMAEvolutionStrategy = "bd407f91-200f-4536-9381-e4ba712f53f8"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
OptimizationCMAEvolutionStrategy = {path = "../.."}
OptimizationBase = {path = "../../../OptimizationBase"}

[compat]
OptimizationBase = "5"
Aqua = "0.8"
JET = "0.9, 0.10, 0.11"
julia = "1.10"
Expand Down
13 changes: 5 additions & 8 deletions lib/OptimizationCMAEvolutionStrategy/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
using Pkg
using SafeTestsets
using SciMLTesting

const TEST_GROUP = get(ENV, "OPTIMIZATION_TEST_GROUP", "All")

# QA (Aqua + JET) runs in an isolated environment (test/qa) so its tooling deps
# never enter the main test target's resolve. On Julia < 1.11 the [sources] table
# is ignored, so develop the package by path to test the PR branch code.
# QA (Aqua + JET) runs in an isolated environment (test/qa). activate_group_env
# develops the package under test (via `parent`) plus its in-repo `[sources]` siblings
# by path — native `[sources]` on Julia >= 1.11, the develop_sources! backport on 1.10.
function activate_qa_env()
Pkg.activate(joinpath(@__DIR__, "qa"))
if VERSION < v"1.11.0-DEV.0"
Pkg.develop(PackageSpec(path = dirname(@__DIR__)))
end
return Pkg.instantiate()
return activate_group_env(joinpath(@__DIR__, "qa"))
end

if TEST_GROUP == "Core" || TEST_GROUP == "All"
Expand Down
4 changes: 3 additions & 1 deletion lib/OptimizationEvolutionary/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
LogExpFunctions = "2ab3a3ac-af41-5b50-aa03-7779005ae688"

[extras]
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand All @@ -21,6 +22,7 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
OptimizationBase = {path = "../OptimizationBase"}

[compat]
SciMLTesting = "2.1"
Evolutionary = "0.11"
LogExpFunctions = "0.3.28"
OptimizationBase = "5"
Expand All @@ -33,4 +35,4 @@ Test = "1.10"
julia = "1.10"

[targets]
test = ["Random", "Test", "SafeTestsets", "Pkg"]
test = ["SciMLTesting", "Random", "Test", "SafeTestsets", "Pkg"]
4 changes: 3 additions & 1 deletion lib/OptimizationEvolutionary/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[deps]
OptimizationBase = "bca83a33-5cc9-4baa-983d-23429ab6bcbb"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
OptimizationEvolutionary = "cb963754-43f6-435e-8d4b-99009ff27753"
Expand All @@ -7,9 +8,10 @@ SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
OptimizationEvolutionary = {path = "../.."}
OptimizationBase = {path = "../../../OptimizationBase"}

[compat]
OptimizationBase = "5"
Aqua = "0.8"
JET = "0.9, 0.10, 0.11"
julia = "1.10"
Expand Down
13 changes: 5 additions & 8 deletions lib/OptimizationEvolutionary/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
using Pkg
using SafeTestsets
using SciMLTesting

const TEST_GROUP = get(ENV, "OPTIMIZATION_TEST_GROUP", "All")

# QA (Aqua + JET) runs in an isolated environment (test/qa) so its tooling deps
# never enter the main test target's resolve. On Julia < 1.11 the [sources] table
# is ignored, so develop the package by path to test the PR branch code.
# QA (Aqua + JET) runs in an isolated environment (test/qa). activate_group_env
# develops the package under test (via `parent`) plus its in-repo `[sources]` siblings
# by path — native `[sources]` on Julia >= 1.11, the develop_sources! backport on 1.10.
function activate_qa_env()
Pkg.activate(joinpath(@__DIR__, "qa"))
if VERSION < v"1.11.0-DEV.0"
Pkg.develop(PackageSpec(path = dirname(@__DIR__)))
end
return Pkg.instantiate()
return activate_group_env(joinpath(@__DIR__, "qa"))
end

if TEST_GROUP == "Core" || TEST_GROUP == "All"
Expand Down
4 changes: 3 additions & 1 deletion lib/OptimizationGCMAES/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
GCMAES = "4aa9d100-eb0f-11e8-15f1-25748831eb3b"

[extras]
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
Expand All @@ -18,6 +19,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
OptimizationBase = {path = "../OptimizationBase"}

[compat]
SciMLTesting = "2.1"
ForwardDiff = "0.10, 1"
GCMAES = "0.1.34"
OptimizationBase = "5.1"
Expand All @@ -29,4 +31,4 @@ Test = "1.10"
julia = "1.10"

[targets]
test = ["ForwardDiff", "Test", "SafeTestsets", "Pkg"]
test = ["SciMLTesting", "ForwardDiff", "Test", "SafeTestsets", "Pkg"]
4 changes: 3 additions & 1 deletion lib/OptimizationGCMAES/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
[deps]
OptimizationBase = "bca83a33-5cc9-4baa-983d-23429ab6bcbb"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
OptimizationGCMAES = "6f0a0517-dbc2-4a7a-8a20-99ae7f27e911"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
OptimizationGCMAES = {path = "../.."}
OptimizationBase = {path = "../../../OptimizationBase"}

[compat]
OptimizationBase = "5"
Aqua = "0.8"
JET = "0.9, 0.10, 0.11"
julia = "1.10"
Expand Down
13 changes: 5 additions & 8 deletions lib/OptimizationGCMAES/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
using Pkg
using SafeTestsets
using SciMLTesting

const TEST_GROUP = get(ENV, "OPTIMIZATION_TEST_GROUP", "All")

# QA (Aqua + JET) runs in an isolated environment (test/qa) so its tooling deps
# never enter the main test target's resolve. On Julia < 1.11 the [sources] table
# is ignored, so develop the package by path to test the PR branch code.
# QA (Aqua + JET) runs in an isolated environment (test/qa). activate_group_env
# develops the package under test (via `parent`) plus its in-repo `[sources]` siblings
# by path — native `[sources]` on Julia >= 1.11, the develop_sources! backport on 1.10.
function activate_qa_env()
Pkg.activate(joinpath(@__DIR__, "qa"))
if VERSION < v"1.11.0-DEV.0"
Pkg.develop(PackageSpec(path = dirname(@__DIR__)))
end
return Pkg.instantiate()
return activate_group_env(joinpath(@__DIR__, "qa"))
end

if TEST_GROUP == "Core" || TEST_GROUP == "All"
Expand Down
4 changes: 3 additions & 1 deletion lib/OptimizationIpopt/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"

[compat]
SciMLTesting = "2.1"
Aqua = "0.8"
Ipopt = "1.10.3"
LinearAlgebra = "1.10.0"
Expand All @@ -34,6 +35,7 @@ julia = "1.10"
OptimizationBase = {path = "../OptimizationBase"}

[extras]
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Expand All @@ -45,4 +47,4 @@ Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[targets]
test = ["Aqua", "ModelingToolkit", "Random", "ReverseDiff", "Test", "Symbolics", "Zygote", "SafeTestsets", "Pkg"]
test = ["SciMLTesting", "Aqua", "ModelingToolkit", "Random", "ReverseDiff", "Test", "Symbolics", "Zygote", "SafeTestsets", "Pkg"]
4 changes: 3 additions & 1 deletion lib/OptimizationIpopt/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
[deps]
OptimizationBase = "bca83a33-5cc9-4baa-983d-23429ab6bcbb"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
OptimizationIpopt = "43fad042-7963-4b32-ab19-e2a4f9a67124"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
OptimizationIpopt = {path = "../.."}
OptimizationBase = {path = "../../../OptimizationBase"}

[compat]
OptimizationBase = "5"
Aqua = "0.8"
JET = "0.9, 0.10, 0.11"
julia = "1.10"
Expand Down
13 changes: 5 additions & 8 deletions lib/OptimizationIpopt/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
using Pkg
using SafeTestsets
using SciMLTesting

const TEST_GROUP = get(ENV, "OPTIMIZATION_TEST_GROUP", "All")

# QA (Aqua + JET) runs in an isolated environment (test/qa) so its tooling deps
# never enter the main test target's resolve. On Julia < 1.11 the [sources] table
# is ignored, so develop the package by path to test the PR branch code.
# QA (Aqua + JET) runs in an isolated environment (test/qa). activate_group_env
# develops the package under test (via `parent`) plus its in-repo `[sources]` siblings
# by path — native `[sources]` on Julia >= 1.11, the develop_sources! backport on 1.10.
function activate_qa_env()
Pkg.activate(joinpath(@__DIR__, "qa"))
if VERSION < v"1.11.0-DEV.0"
Pkg.develop(PackageSpec(path = dirname(@__DIR__)))
end
return Pkg.instantiate()
return activate_group_env(joinpath(@__DIR__, "qa"))
end

if TEST_GROUP == "Core" || TEST_GROUP == "All"
Expand Down
Loading
Loading