
I am not able to use raco test
in github actions because it keeps trying to connect to an X server (https://github.com/dada-lang/dada-model/runs/3388502704?check_suite_focus=true\|logshttps://github.com/dada-lang/dada-model/runs/3388502704?check_suite_focus=true))\|). I can find some discussion of this online, mostly in connection with the racket language server, but not much. Any advice?

You need to start the X virtual frame buffer, ‘xvfb” in the action. The plot package has an example, other packages might have examples too.

where can I find the plot package?

this <https://defn.io/2020/05/05/github-actions-for-racket-revised/|blog post> was about the only one I found and it doesn’t say anything about that

I guess there is <https://github.com/marketplace/actions/gabrielbb-xvfb-action|this github action>, sounds like maybe what I want?

<https://github.com/dada-lang/dada-model/commit/c1a150437bd4199710e45a8575f3456031653070|it works!> — thanks!

Also if you switch to (require redex/reduction-semantics) it doesn’t need the gui anymore

@madeinquant has joined the channel

For completeness, here is the way the plot package does it https://github.com/racket/plot/blob/6743d6b82337296bbee484c1570bf9948e030ce6/.github/workflows/ci.yml#L46\|https://github.com/racket/plot/blob/6743d6b82337296bbee484c1570bf9948e030ce6/.github/workflows/ci.yml#L46