diff --git a/Project.toml b/Project.toml index f88527ff..9513c216 100644 --- a/Project.toml +++ b/Project.toml @@ -21,6 +21,7 @@ Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" [weakdeps] +Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d" Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a" MeshCat = "283c5d60-a78f-5afe-a0af-af636b173e11" Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" @@ -45,6 +46,7 @@ GridVisualizeVTKViewExt = "VTKView" CairoMakie = "0.11, 0.12, 0.13, 0.14, 0.15" ColorSchemes = "3" Colors = "0.12,0.13,1" +Conda = "1" DocStringExtensions = "0.8,0.9" ElasticArrays = "1" ExtendableGrids = "1.17" @@ -81,4 +83,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Triangulate = "f7e6ffb2-c36d-4f8f-a77e-16e897189344" [targets] -test = ["CairoMakie", "ExtendableGrids", "Pkg", "PlutoVista", "PyPlot", "Term", "Test", "Triangulate", "UnicodePlots"] +test = ["CairoMakie", "ExtendableGrids", "Pkg", "PlutoVista", "PyPlot", "Term", "Test", "Triangulate", "UnicodePlots", "Conda"] diff --git a/docs/Project.toml b/docs/Project.toml index ad22c93b..eeefc695 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,5 +1,6 @@ [deps] CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" +Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d" DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" ExampleJuggler = "3bbe58f8-ed81-4c4e-a134-03e85fcf4a1a" @@ -19,3 +20,6 @@ Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Triangulate = "f7e6ffb2-c36d-4f8f-a77e-16e897189344" VTKView = "955f2c64-5fd0-11e9-0ad0-3332e913311a" + +[sources] +GridVisualize = {path = ".."} diff --git a/docs/make.jl b/docs/make.jl index 9bca9864..5392d32e 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -2,8 +2,13 @@ using Documenter, GridVisualize import PlutoSliderServer # LoadError: Please import/use PlutoSliderServer.jl in order to use docplutonotebooks with `iframe=true` using ExampleJuggler import CairoMakie, PlutoVista, MeshCat, VTKView # for docstrings and graphics generated by documentet +using Conda +Conda.add("matplotlib") +ENV["MPLBACKEND"] = "agg" import Plots, PyPlot # for docstrings only using ExtendableGrids + + ExampleJuggler.verbose!(true) using Test diff --git a/test/runtests.jl b/test/runtests.jl index 965174b1..6113fc47 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,10 @@ using Test, ExtendableGrids, GridVisualize, Pkg, LinearAlgebra +using Conda +Conda.add("matplotlib") +ENV["MPLBACKEND"] = "agg" + + import CairoMakie, PyPlot, PlutoVista, UnicodePlots, Term CairoMakie.activate!(; type = "svg", visible = false)