raidionics / Raidionics

Software for automatic segmentation and generation of standardized clinical reports of brain tumors from MRI volumes
https://raidionics.github.io/
BSD 2-Clause "Simplified" License
31 stars 4 forks source link

Added simple GUI launch test to CIs #57

Closed andreped closed 11 months ago

andreped commented 11 months ago

[no ci]

This only testes that the generated exectuable launches without any errors, which may be relevant to test when changing dependencies and versions before merging PRs to the master branch.

Also changed the --log-level of the PyInstaller runs to INFO again, as using the DEBUG flag should not be the default, unless something goes wrong. Using the DEBUG flag should likely only be performed locally, as it greatly degrades the install runtime.

andreped commented 11 months ago

Might be that on some operating systems that the error raised by the Raidionics software is not caught by the global process in the Action. I guess you could run a test to see if it works as intended (e.g., actually captures a known ValueError and stops the CI workflow).