diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51658fd..43e6573 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,15 +22,15 @@ jobs: os: macos-latest arch: arm64 allow_failure: false - - version: 'nightly' + - version: 'pre' os: ubuntu-latest arch: x64 allow_failure: true - - version: 'nightly' + - version: 'pre' os: macos-latest arch: x64 allow_failure: true - - version: 'nightly' + - version: 'pre' os: windows-latest arch: x64 allow_failure: true diff --git a/Project.toml b/Project.toml index 8a422b0..1db7d5d 100644 --- a/Project.toml +++ b/Project.toml @@ -20,8 +20,9 @@ QuadraticModelsQPSReaderExt = "QPSReader" [compat] LinearAlgebra = "1.10" LinearOperators = "2.3" -NLPModels = "0.21.4" +NLPModels = "0.21.5" NLPModelsModifiers = "0.7" +QPSReader = "0.2.1" SolverCore = "0.3" SparseArrays = "1.10" SparseMatricesCOO = "0.2.3" diff --git a/test/Project.toml b/test/Project.toml index d1aea91..817d20b 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -16,7 +16,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] ADNLPModels = "0.8" LinearOperators = "2" -NLPModels = "0.21.4" +NLPModels = "0.21.5" NLPModelsModifiers = "0.7" NLPModelsTest = "0.10" QPSReader = "0.2" diff --git a/test/test_allocations.jl b/test/test_allocations.jl index e04bb60..33e2b78 100644 --- a/test/test_allocations.jl +++ b/test/test_allocations.jl @@ -11,28 +11,32 @@ end @testset "allocs QPSData" begin for problem in qp_problems_Matrix nlp_qps = eval(Symbol(problem * "_QPSData"))() - test_only_zeros(test_allocs_nlpmodels(nlp_qps)) + allocs = test_allocs_nlpmodels(nlp_qps; linear_api=true, exclude=[jac_op]) + test_only_zeros(allocs) end end @testset "allocs QP_dense" begin for problem in qp_problems_Matrix nlp_qm_dense = eval(Symbol(problem * "_QP_dense"))() - test_only_zeros(test_allocs_nlpmodels(nlp_qm_dense)) + allocs = test_allocs_nlpmodels(nlp_qm_dense; linear_api=true, exclude=[jac_op]) + test_only_zeros(allocs) end end @testset "allocs COO QPSData" begin for problem in qp_problems_COO nlp_qps = eval(Symbol(problem * "_QPSData"))() - test_only_zeros(test_allocs_nlpmodels(nlp_qps)) + allocs = test_allocs_nlpmodels(nlp_qps; linear_api=true, exclude=[jac_op]) + test_only_zeros(allocs) end end @testset "allocs COO QP" begin for problem in qp_problems_COO nlp_qm_dense = eval(Symbol(problem * "_QP"))() - test_only_zeros(test_allocs_nlpmodels(nlp_qm_dense)) + allocs = test_allocs_nlpmodels(nlp_qm_dense; linear_api=true, exclude=[jac_op]) + test_only_zeros(allocs) end end @@ -41,7 +45,8 @@ end nlp = eval(Symbol(problem))() x = nlp.meta.x0 nlp_qm = QuadraticModel(nlp, x) - test_only_zeros(test_allocs_nlpmodels(nlp_qm)) + allocs = test_allocs_nlpmodels(nlp_qm; linear_api=true, exclude=[jac_op]) + test_only_zeros(allocs) end end end