bsc-quantic / Tenet.jl

Composable Tensor Network library in Julia
https://bsc-quantic.github.io/Tenet.jl/
Apache License 2.0
17 stars 1 forks source link

Test plotting on CI #29

Closed mofeing closed 1 year ago

mofeing commented 1 year ago

From #28, we found out that there might be crashes on plotting code. We should not seek testing deterministic behaviour but just checking that it does not crash.

Problem of writing a test that calls Makie.plot is that it will fail on CI runs because they do not have a graphical user interface. I recall that there was a package for creating a fake graphic server, to be used in these cases. I don't remember the name but probably is used by GraphMakie or some Makie backend.