Skip to content

Commit e4a05ba

Browse files
authored
ci: test pymongo against mongodb 4.0 (#2211)
And add 3.6 to matrix.
1 parent 09dd0f1 commit e4a05ba

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

.ci/.matrix_framework_full.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ FRAMEWORK:
4646
- pymongo-3.3
4747
- pymongo-3.4
4848
- pymongo-3.5
49+
- pymongo-3.6
4950
- pymongo-newest
5051
- redis-3
5152
- redis-2

tests/docker-compose.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ services:
4646
volumes:
4747
- pymongodata36:/data/db
4848

49+
mongodb40:
50+
image: mongo:4.0
51+
ports:
52+
- "27017:27017"
53+
volumes:
54+
- pymongodata40:/data/db
55+
4956
memcached:
5057
image: memcached
5158

@@ -198,6 +205,8 @@ volumes:
198205
driver: local
199206
pymongodata36:
200207
driver: local
208+
pymongodata40:
209+
driver: local
201210
pyesdata7:
202211
driver: local
203212
pyesdata8:

tests/scripts/envs/pymongo-3.6.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export PYTEST_MARKER="-m mongodb"
2+
export DOCKER_DEPS="mongodb36"
3+
export MONGODB_HOST="mongodb36"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export PYTEST_MARKER="-m mongodb"
2-
export DOCKER_DEPS="mongodb36"
3-
export MONGODB_HOST="mongodb36"
2+
export DOCKER_DEPS="mongodb40"
3+
export MONGODB_HOST="mongodb40"

0 commit comments

Comments
 (0)