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.
In #29, a test mode was added to the module MyoFInDer to make it initialize without fully running. This test mode was however only implemented, but not actually used anywhere.
This PR make use of the test mode in two of the three implemented test workflows. In
test_python_package.yml
, the tests on Windows now start MyoFInDer in test mode instead of just importing the module. On Linux and macOS, however, this is not possible in absence of a graphical environment. The correct configuration for running tests on these OS without a graphical environment might be added in future works.In
build_windows_installer.yml
, a wheel of the latest version of MyoFInDer is now built, and installed by thestart_myofinder.bat
script. The installed version of the module is then started in test mode, on a Windows machine.The tests conducted in the workflows are still pretty basic. In future works, a more comprehensive test suite should be added and ideally run on all the supported Python versions and platforms.