SlicerDMRI / whitematteranalysis

White matter tractography clustering and more...
https://dmri.slicer.org/whitematteranalysis/
Other
69 stars 34 forks source link

ENH: Add script availability testing #154

Closed jhlegarreta closed 1 year ago

jhlegarreta commented 1 year ago

Add script availability testing: ensure that scripts can be called by testing the call with the help flag to show the script documentation.

Add the necessary package dependencies to discover and run the tests.

Make the GHA workflow actually run the tests: uncomment the corresponding statement.

jhlegarreta commented 1 year ago

This is working locally. Screenshots:

wma_test_run_error

wma_pytest

wma_pytest_o_junit_family-xunit2-v-doctest-modules

And also on GitHub (24 items are collected): https://github.com/SlicerDMRI/whitematteranalysis/actions/runs/6413452971/job/17412380161?pr=154#step:5:686

So this identifies a few issues that need to be address in separate PRs: