Undefined Variable Error only on Github CI tests

I got this mysterious error on github:

  Got exception outside of a @test
  On worker 2:
  UndefVarError: `#323#326` not defined

along with other two very similar errors.

What is really strange though is that locally everything works fine. These are the CI logs: new internal API for sampling · JuliaDynamics/Agents.jl@af9b3a8 · GitHub

Maybe related is the fact that all three test failing on CI are all in parallel code. However when testing locally no test fails so I’m a bit confused.

Do you have any idea on what could be the cause?

very strange, I finished up another unrelated PR and it contains the same errors on github, but works fine locally as the other one