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

Fixed docstrings | Added workflow for unit testing automation | Added more test cases | replaced pytest with unittest | Fixed dependencies bugs | #15

Merged
merged 22 commits into from
Jul 17, 2024

Conversation

spirosmaggioros
Copy link
Member

@spirosmaggioros spirosmaggioros commented Jul 8, 2024

I replaced pytest with unittest library as i think for what we have right now on the repo it's easier for the workflow and for adding new unit tests.

There was some issues with the dependencies in dev-dependencies.txt and i updated some libraries to work for macos as well. I will update the workflow for multi-os support soon, i just wanted to tick the boxes right now for the unit testing automation. Right now it builds only for ubuntu-latest.

I also removed unused code, mostly unused parameters in functions and updated the docstrings wherever i could. I will add more docstrings and update the documentation manually the next days as well.

I also added a couple of test cases, i'm just waiting for this PR to merge to make anohter one, because if something from there wont actually merge to the main branch we will have conflicts.

@spirosmaggioros spirosmaggioros changed the title Fixed docstrings | Added workflow for unit tests automation | replaced pytest with unittest | Fixed dependencies bugs | Fixed docstrings | Added workflow for unit testing automation | replaced pytest with unittest | Fixed dependencies bugs | Jul 8, 2024
@spirosmaggioros
Copy link
Member Author

I reverted my additions for documentation files and created a different PR for those changes.

@spirosmaggioros spirosmaggioros changed the title Fixed docstrings | Added workflow for unit testing automation | replaced pytest with unittest | Fixed dependencies bugs | Fixed docstrings | Added workflow for unit testing automation | Added more test cases | replaced pytest with unittest | Fixed dependencies bugs | Jul 13, 2024
@spirosmaggioros
Copy link
Member Author

spirosmaggioros commented Jul 13, 2024

I debugged the workflows using the additional test cases that i wrote. I will wait for this PR to be merged to make the new PR for the new test cases.
I also have 2 new workflows ready:

  • Codecov coverage
  • Sphinx automatic documentation

I will make seperate PR's for them as well.

@AlexanderGetka-cbica AlexanderGetka-cbica self-requested a review July 16, 2024 14:17
Copy link
Contributor

@AlexanderGetka-cbica AlexanderGetka-cbica left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks Spiros.

@AlexanderGetka-cbica
Copy link
Contributor

Just waiting for the actions to run, then we'll merge.

@spirosmaggioros
Copy link
Member Author

Note: I discussed the test cases with george and we concluded that we will use pytest, so i will change them again in the future. Right now we must concentrate to the code readability and syntax as well as the repo presentation

@AlexanderGetka-cbica AlexanderGetka-cbica merged commit 6a3f922 into CBICA:main Jul 17, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants