Reactivate all tests

gh-actions
Alinson S. Xavier 5 years ago
parent 8c8e66971a
commit 18ea5f5ba8

@ -42,8 +42,9 @@ using RELOG, Cbc, JuMP, Printf, JSON, MathOptInterface.FileFormats
end end
@testset "solve" begin @testset "solve" begin
solution_filename = tempname()
solution = RELOG.solve("$(pwd())/../instances/s1.json", solution = RELOG.solve("$(pwd())/../instances/s1.json",
output="$(pwd())/../tmp/sol.json") output=solution_filename)
@test "Costs" in keys(solution) @test "Costs" in keys(solution)
@test "Fixed operating (\$)" in keys(solution["Costs"]) @test "Fixed operating (\$)" in keys(solution["Costs"])

@ -4,8 +4,8 @@
using Test using Test
@testset "RELOG" begin @testset "RELOG" begin
#include("instance_test.jl") include("instance_test.jl")
#include("graph_test.jl") include("graph_test.jl")
#include("model_test.jl") include("model_test.jl")
include("reports_test.jl") include("reports_test.jl")
end end
Loading…
Cancel
Save