Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial CI setup #55

Merged
merged 10 commits into from
Jun 23, 2021
Merged

Initial CI setup #55

merged 10 commits into from
Jun 23, 2021

Conversation

yoda-vid
Copy link
Collaborator

This PR sets up a basic continuous integration workflow with:

  • Python 3.6-3.8 on Ubuntu
  • Dependency installation
  • Flake8 testing
  • Unit testing

The workflow is based on the GitHub guide (https://docs.github.com/en/actions/guides/building-and-testing-python) and the default workflow template in the Actions tab.

Set up a basic continuous integration workflow with:

- Python 3.6-3.8 on Ubuntu
- Dependency installation
- Flake8 testing
- Unit testing
@yoda-vid yoda-vid added the enhancement New feature or request label Jun 22, 2021
yoda-vid added 9 commits June 22, 2021 16:36
Update the setuptools package in addition to the pip and wheel packages.
Increase the versions to match the custom binaries built for Python 3.6-3.9 compatibility (3.9 supported in MagellanMapper GUI once VTK supports 3.9 as well).
Increase to 9.0.1 to support Python 3.8.
Install libsm6 and libgl1-mesa-glx libraries in Ubuntu-based CI workflow.
Set environment variable for offscreen display.
Commit 53acd7a introduced a regression where the distance calculation was removed for finding local peaks, fixed here. Also, set the default output value.
- Check to ensure that the label is a valid image shape before attempting to load
- Simplify a chained comparison
The stitch folder is used for ImageJ as Jython rather than Python file including scripting parameters which lead to errors in Flake8, now ignored.
- Turn off `unit_testing` test for now since it requires an artifact
- Add unit testing for `libmag` module
@yoda-vid yoda-vid added this to the v1.4.1 milestone Jun 23, 2021
@yoda-vid yoda-vid merged commit d17a3eb into master Jun 23, 2021
@yoda-vid yoda-vid deleted the github_workflow branch June 23, 2021 03:15
@yoda-vid yoda-vid modified the milestones: v1.4.1, v1.5.0 Nov 4, 2021
@yoda-vid yoda-vid added the CI Continuous integration label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous integration enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant