graasp / graasp-desktop

Cross-platform desktop client for the Graasp ecosystem.
https://desktop.graasp.org
GNU Affero General Public License v3.0
8 stars 8 forks source link

Set up Spectron with coverall (code coverage github action) #357

Closed pyphilia closed 3 years ago

pyphilia commented 3 years ago

Code coverage https://git.2li.ch/various/Google-Play-Music-Desktop-Player/commit/1b2055b286f1f296c0d48dec714224c14acb3c34

Headless https://github.com/electron-userland/spectron/issues/323

pyphilia commented 3 years ago

Couldn't make spectron open the application headless for now. Maybe this link will help https://www.electronjs.org/docs/tutorial/testing-on-headless-ci

pyphilia commented 3 years ago

This is how spectron is running tests in github actions: https://github.com/electron-userland/spectron/blob/master/.github/workflows/ci.yml