typesense / typesense-java

Java client for Typesense
https://typesense.org/docs/latest/api/
Apache License 2.0
58 stars 28 forks source link

Adding checkstyle & code coverage verification #36

Open snigdhasjg opened 1 year ago

snigdhasjg commented 1 year ago

Description

  1. As development goes, uniform coding style plays big role in maintenance.
  2. Automated checks on code coverage

Steps to reproduce

Expected Behavior

  1. Having a checkstyle in place so its easy to contribute, local IDE setup doesn't hamper.
  2. Having a .editorconfig in place so IDE automatically formats according to coding style
  3. Tests need to be verified and coverage published (could be as a badge, thinking out loud) Note: Initially we can't fail build if coverage goes beyond X%. Once tests are fixed, will have the check in pipeline

Actual Behavior

  1. Many unoptimized imports
  2. Unit tests doing nothing other than printing

Metadata

NA

Typesense Version: NA

OS: NA