Meteor-Community-Packages / meteor-desktop

Build a Meteor's desktop client with hot code push.
MIT License
38 stars 12 forks source link

Fix CI integration test #34

Closed dd137 closed 1 year ago

dd137 commented 1 year ago

The automated integration tests should now pass on Github actions.

As hypothesized, the problem was that npm run test-integration launches Electron and therefore needs a display to work properly, but the CI workflow runs on a headless Linux OS. Running the test-integration script through Xvfb (a virtual X11 display server) solved the issue.

I also made other minor improvements to the test workflow, see commit message details.

Related commit: Meteor and Node should now be 2.6.1 and 14 everywhere (it was still 2.6 and 12 in a few places).