Skip to content

Commit

Permalink
Merge pull request #48 from scullxbones/mongo-7-ci
Browse files Browse the repository at this point in the history
add MongoDB 7 to CI build-matrix in order to verify library working with Mongo 7
  • Loading branch information
thjaeckle authored Jun 17, 2024
2 parents 78d773a + 868ba95 commit c345be3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down

0 comments on commit c345be3

Please sign in to comment.