Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Commit

Permalink
OGM-1588 Update remote MongoDB to 7 in the GitHub workflow
Browse files Browse the repository at this point in the history
We still test the default build using the embedded MongoDB 3.6.

Tests for calls to stored procedures are disabled for the remote
server because MongoDB 7.0 doesn't support `$eval` anymore.
  • Loading branch information
DavideD committed Sep 3, 2024
1 parent d655d5f commit 06ff099
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: 3.6.23
mongodb-version: 7.0.14
mongodb-port: 27017
- name: Run tests
run: |
Expand Down
13 changes: 13 additions & 0 deletions mongodb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,19 @@
<properties>
<datastoreProvider>mongodb</datastoreProvider>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<!-- MongoDB 7.0 (the one we use for remote testing on CI) doesn't support `$eval` anymore -->
<exclude>**/PositionalParametersStoredProcedureCallTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 06ff099

Please sign in to comment.