From 4b3ef974a275ddacf5f303f8ddb6d1e681805ec8 Mon Sep 17 00:00:00 2001 From: David Anthoff Date: Fri, 22 Nov 2019 17:45:53 -0800 Subject: [PATCH] Prepare tests for Github Actions --- Project.toml | 2 +- test/runtests.jl | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Project.toml b/Project.toml index 55d367192..7a93ae5d8 100644 --- a/Project.toml +++ b/Project.toml @@ -40,7 +40,7 @@ GraphPlot = "0.3, 0.4" julia = "1" IteratorInterfaceExtensions = "^0.1.1, ^1" TableTraits = "^0.4.1, ^1" -Electron = "0.2, 0.3, 0.4, 1" +Electron = "1.1" DataFrames = "0.19.1" CSVFiles = "0.16.0" diff --git a/test/runtests.jl b/test/runtests.jl index de784fb95..b26fb406f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,6 +1,9 @@ using Mimi +import Electron using Test +Electron.prep_test_env() + @testset "Mimi" begin @info("test_main.jl") @@ -30,7 +33,7 @@ using Test @info("test_model_structure.jl") include("test_model_structure.jl") - @info("test_model_structure_variabletimestep.jl") + @info("test_model_structure_variabletimestep.jl") include("test_model_structure_variabletimestep.jl") @info("test_replace_comp.jl") @@ -54,7 +57,7 @@ using Test @info("test_getindex.jl") include("test_getindex.jl") - @info("test_getindex_variabletimestep.jl") + @info("test_getindex_variabletimestep.jl") include("test_getindex_variabletimestep.jl") @info("test_components.jl") @@ -66,14 +69,14 @@ using Test @info("test_getdataframe.jl") include("test_getdataframe.jl") - @info("test_mult_getdataframe.jl") - include("test_mult_getdataframe.jl") + @info("test_mult_getdataframe.jl") + include("test_mult_getdataframe.jl") @info("test_clock.jl") include("test_clock.jl") - - @info("test_timesteps.jl") - include("test_timesteps.jl") + + @info("test_timesteps.jl") + include("test_timesteps.jl") @info("test_timesteparrays.jl") include("test_timesteparrays.jl") @@ -83,7 +86,7 @@ using Test @info("test_datum_storage.jl") include("test_datum_storage.jl") - + @info("test_connectorcomp.jl") include("test_connectorcomp.jl")