Skip to content

Commit 94440c5

Browse files
committed
ci: test pymongo against mongodb 4.0
And add 3.6 to matrix.
1 parent 09dd0f1 commit 94440c5

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-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: 7 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

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)