Skip to content

Commit

Permalink
ci: test pymongo against mongodb 4.0
Browse files Browse the repository at this point in the history
And add 3.6 to matrix.
  • Loading branch information
xrmx committed Feb 5, 2025
1 parent 09dd0f1 commit c893f30
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions .ci/.matrix_framework_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ FRAMEWORK:
- pymongo-3.3
- pymongo-3.4
- pymongo-3.5
- pymongo-3.6
- pymongo-newest
- redis-3
- redis-2
Expand Down
9 changes: 9 additions & 0 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ services:
volumes:
- pymongodata36:/data/db

mongodb40:
image: mongo:4.0
ports:
- "27017:27017"
volumes:
- pymongodata40:/data/db

memcached:
image: memcached

Expand Down Expand Up @@ -198,6 +205,8 @@ volumes:
driver: local
pymongodata36:
driver: local
pymongodata40:
driver: local
pyesdata7:
driver: local
pyesdata8:
Expand Down
3 changes: 3 additions & 0 deletions tests/scripts/envs/pymongo-3.6.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export PYTEST_MARKER="-m mongodb"
export DOCKER_DEPS="mongodb36"
export MONGODB_HOST="mongodb36"
4 changes: 2 additions & 2 deletions tests/scripts/envs/pymongo-newest.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export PYTEST_MARKER="-m mongodb"
export DOCKER_DEPS="mongodb36"
export MONGODB_HOST="mongodb36"
export DOCKER_DEPS="mongodb40"
export MONGODB_HOST="mongodb40"

0 comments on commit c893f30

Please sign in to comment.