@zurgeg check out this topic and their repo, they got it working using github actions and i think they use a fake X server (Xvfb) to run the simulator inside that. Also be aware the simulator the very first run will show a small nag screen but you can go around that by editing the settings file prelaunch
Basically check this github action and the rest of their repo, not sure how they read out the results but i'm guessing they read it out from the console logging statements