Build and Tests
Build
The project requires Scala 2.12.12 or 2.13.3. To build the project locally:
git@github.com:d2a4u/meteor.git
cd ./meteor
sbt compile
Tests
Local
Unit tests can be run locally by sbt test
. Integration tests run against docker container of
DynamoDB Local.
Hence, you will need docker installed and then to run integration tests:
docker-compose up -d # make sure that the service is ready before running tests
sbt it:test
A docker-compose.yml
is provided at the root of the project.
Github Actions
All PRs and branches are built and tests using Github Actions using the same mechanism with
docker-compose
. The project is built and tests are run against both Scala 2.12 and 2.13.
Release
The project uses sbt-release-early plugin to release
artifacts to Sonatype repositories. Versioning is via git tags. Release process is automated via
Github actions. Minor version is automatically incremented on PR merge. To release other version
bump, add #major
or #patch
to commit message.