Closed rdw-software closed 3 years ago
Taking another stab at this, as it personally annoys me.
Looks like a display-related issue, with electron
(not electron-mocha
). Got around it via SSH (tmate debug sessions) as follows:
export DISPLAY=:45 && xvfb-run --server-num 45 "electron-mocha" Tests
Now all that's left is finding a way to run this abomination ONLY on the Ubuntu VM.
Segfault. No idea why, no idea how to debug this on the GitHub VM either TBH.
Since the tests are supposed to cover application/domain logic only, the OS *shouldn't matter too much. For that reason, I've disabled the test for Ubuntu until I can find a way to make it work.
This is obviously less than ideal, but shouldn't really stand in the way of building more features. The last thing I need right now is a deep dive in to the Unix world :weary: