For bug reports submit an issue.
- Fork the main repository
- Create a feature branch to hold your changes
- Work on the changes in your feature branch
- Add Unit Tests
- Follow the Getting Started instruction to setup service.
- Create the alembic migration environment only when it's needed
- Test the code and create pull request
To create new migration with alembic.
docker compose run --rm alembic revision -m "Migration name"
When adding a new feature or fixing a bug, unit test is necessary to write. Currently we adopted pytest as our testing framework and all test cases are written under tests directory
-
Run test cases.
poetry run pytest