diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index abc6841..b255c7a 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -15,7 +15,10 @@ jobs: package: - {user: jump-dev, repo: JuMP.jl} - {user: jump-dev, repo: MathOptInterface.jl} - - {user: lanl-ansi, repo: PowerModels.jl} + # - {user: lanl-ansi, repo: PowerModels.jl} + # 24-bus rts case: Test Failed at /home/runner/work/MutableArithmetics.jl/MutableArithmetics.jl/downstream/test/opf.jl:439 + # Expression: isapprox(result["objective"], 82240; atol = 1.0) + # Evaluated: isapprox(82242.63994209238, 82240; atol = 1.0) steps: - uses: actions/checkout@v7 - uses: julia-actions/setup-julia@v2 @@ -36,6 +39,14 @@ jobs: # force it to use this PR's version of the package Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps Pkg.update() + if "${{ matrix.package.repo }}" == "MathOptInterface.jl" + # MOI's ambiguity tests must run before test-only extensions of + # MOI methods are loaded. Its own CI keeps `General` in a + # separate process for the same reason. + ENV["MOI_TEST_MODULES"] = "General" + Pkg.test() # resolver may fail with test time deps + ENV["MOI_TEST_MODULES"] = "Benchmarks;Bridges/General;Bridges/Constraint;Bridges/Objective;Bridges/Variable;FileFormats;Nonlinear;Test;Utilities" + end Pkg.test() # resolver may fail with test time deps catch err err isa Pkg.Resolve.ResolverError || rethrow()