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

Added github actions CI workflow with unit tests #7

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

kosdmit
Copy link

@kosdmit kosdmit commented Sep 13, 2024

This PR adds github CI tests workflow and some unit test.

That allows to be shure that the lib works in different environments (python versions and different os).

features:

  • Added unit test for PetrovichDeclinationMaker
  • Added unit test for PetrovichGenderDetector
  • Added github CI workflow to run tests automatically
  • Tests are run in different environments: Python 3.7 - 3.12, ubuntu-latest, windows-latest, macos-latest
  • Using pytest-cov to measure tests coverage

Current tests coverage is 84%, it is possible to improve this in the future.

@alexeyev
Copy link
Collaborator

Thank you for your efforts, nothing could make me happier than the evidence that my work might actually be of use to someone.

I will get back to your PR as soon as I can.

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