From 868ba95280adfc22674e78521cd8797d2493469b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20J=C3=A4ckle?= Date: Mon, 17 Jun 2024 12:17:09 +0200 Subject: [PATCH] add MongoDB 7 to CI build-matrix in order to verify library working with Mongo 7 --- .github/workflows/ci.yml | 6 ++++++ README.md | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b68d9e7..d44aac4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,12 @@ jobs: scala-version: 2.13.14 - mongo-version: "6.0" scala-version: 3.4.1 + - mongo-version: "7.0" + scala-version: 2.12.19 + - mongo-version: "7.0" + scala-version: 2.13.14 + - mongo-version: "7.0" + scala-version: 3.4.1 env: MONGODB_AUTH_PORT: 28117 MONGODB_NOAUTH_PORT: 27117 diff --git a/README.md b/README.md index 82d0bd6..f197057 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,13 @@ [![Maven Central](https://img.shields.io/maven-central/v/com.github.scullxbones/pekko-persistence-mongodb_2.13?label=maven)](https://central.sonatype.com/artifact/com.github.scullxbones/pekko-persistence-mongodb_2.13/) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -* Test suite verifies against MongoDB 4.4 5.0 6.0 +* Test suite verifies against MongoDB 4.4 5.0 6.0 7.0 ## A MongoDB plugin for [pekko-persistence](https://pekko.apache.org/docs/pekko/current/typed/index-persistence.html) * The tests expect two mongods running, with and without authentication. A utility script (`test_containers.sh`) will boot these as docker containers. -* Supports Pekko 1.0.0 -* Test suite runs against MongoDB major versions 4.4, 5.0, 6.0 +* Supports Pekko 1.0.x +* Test suite runs against MongoDB major versions 4.4, 5.0, 6.0, 7.0 * Cross-compiled against scala `2.12`, `2.13` and `3` - *WARNING* in the case of Scala 3 this library uses `2.13` version of `mongo-scala-driver`, because it is not yet available for Scala 3. * Be aware that there is a `16MB` payload size limit on snapshots and journal events. In addition a journal batch must be <= `16MB` in size. A journal batch is defined by the `Seq` of events passed to `persistAll`.