jsevellec / cassandra-unit

Utility tool to load Data into Cassandra to help you writing good isolated JUnit Test into your application
GNU Lesser General Public License v3.0
424 stars 0 forks source link

CI and Shaded Library Problem #322

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi guys! I am hesitating if you still have enough time to maintain this awesome library but I will try to contribute. Be sure this tool still is one of the bests (and I believe the lightest one among the nosan and testcontainer-cassandra) for integration testing with Cassandra.

I have changed two things:

  1. I've added Netty dependency in the cassandra-unit pom avoiding crashes related to not being to find netty classes in the cassandra-unit-shaded I've experienced.

This change also may resolve issues #248, #276, and #320 this way: Simply use the cassandra-unit-shaded so that you will not experience dep conflicts causing NoSuchField, NoSuchMethod, etc.

  1. I've added GitHub actions to automate build and test. I hope to give some advice on how to automate even the release phase to have a complete continuous delivery pipeline.

Be Happy!

asarkar commented 3 years ago

how to automate even the release phase

You can release to Maven Central from a GitHub action only if build and tests have passed. See this project for example.