ENH: Add script availability testing#154
Merged
ljod merged 1 commit intoSlicerDMRI:masterfrom Oct 5, 2023
Merged
Conversation
28bbc67 to
0c185f2
Compare
Contributor
Author
|
This is working locally. Screenshots: 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:
|
This was referenced Oct 5, 2023
Closed
0c185f2 to
a103225
Compare
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 corresponding `__init__.py` files so that the scripts can be discovered. Add the necessary package dependencies to discover and run the tests. Make the GHA workflow actually run the tests: call `pytest` to collect tests.
a103225 to
cf5ddd8
Compare
This was referenced Oct 5, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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.