MOTOR-1314 Test against 8.0 builds (#287)
This commit is contained in:
parent
cac2145109
commit
5ef6a15dc6
@ -691,6 +691,33 @@ tasks:
|
||||
TOPOLOGY: "sharded_cluster"
|
||||
- func: "run tox"
|
||||
|
||||
- name: "test-8.0-standalone"
|
||||
tags: [ "8.0", "standalone" ]
|
||||
commands:
|
||||
- func: "bootstrap mongo-orchestration"
|
||||
vars:
|
||||
VERSION: "8.0"
|
||||
TOPOLOGY: "server"
|
||||
- func: "run tox"
|
||||
|
||||
- name: "test-8.0-replica_set"
|
||||
tags: [ "8.0", "replica_set" ]
|
||||
commands:
|
||||
- func: "bootstrap mongo-orchestration"
|
||||
vars:
|
||||
VERSION: "8.0"
|
||||
TOPOLOGY: "replica_set"
|
||||
- func: "run tox"
|
||||
|
||||
- name: "test-8.0-sharded_cluster"
|
||||
tags: [ "8.0", "sharded_cluster" ]
|
||||
commands:
|
||||
- func: "bootstrap mongo-orchestration"
|
||||
vars:
|
||||
VERSION: "8.0"
|
||||
TOPOLOGY: "sharded_cluster"
|
||||
- func: "run tox"
|
||||
|
||||
- name: "test-latest-standalone"
|
||||
tags: ["latest", "standalone"]
|
||||
commands:
|
||||
@ -921,6 +948,7 @@ buildvariants:
|
||||
tasks:
|
||||
- ".rapid"
|
||||
- ".latest"
|
||||
- ".8.0"
|
||||
- ".7.0"
|
||||
- ".6.0"
|
||||
- ".5.0"
|
||||
@ -952,6 +980,7 @@ buildvariants:
|
||||
tasks:
|
||||
- ".rapid"
|
||||
- ".latest"
|
||||
- ".8.0"
|
||||
- ".7.0"
|
||||
- ".6.0"
|
||||
- ".5.0"
|
||||
@ -969,6 +998,7 @@ buildvariants:
|
||||
tasks:
|
||||
- ".rapid"
|
||||
- ".latest"
|
||||
- ".8.0"
|
||||
- ".7.0"
|
||||
- ".6.0"
|
||||
|
||||
|
||||
9
tox.ini
9
tox.ini
@ -101,7 +101,8 @@ extras =
|
||||
encryption
|
||||
test
|
||||
commands =
|
||||
pip install git+https://github.com/mongodb/mongo-python-driver.git@master
|
||||
# TODO: Use "master" as part of MOTOR-1330
|
||||
pip install git+https://github.com/mongodb/mongo-python-driver.git@v4.8
|
||||
pip install -q --pre --prefer-binary pymongocrypt
|
||||
python --version
|
||||
python -c "import pymongo; print('PyMongo %s' % (pymongo.version,))"
|
||||
@ -115,7 +116,8 @@ allowlist_externals =
|
||||
setenv =
|
||||
PYTHONPATH = {envtmpdir}/mongo-python-driver
|
||||
commands =
|
||||
git clone --depth 1 --branch master https://github.com/mongodb/mongo-python-driver.git {envtmpdir}/mongo-python-driver
|
||||
# TODO: Use "master" as part of MOTOR-1330
|
||||
git clone --depth 1 --branch v4.8 https://github.com/mongodb/mongo-python-driver.git {envtmpdir}/mongo-python-driver
|
||||
python -m pip install -e {envtmpdir}/mongo-python-driver
|
||||
python -m synchro.synchrotest {envtmpdir}/mongo-python-driver -v {posargs}
|
||||
|
||||
@ -130,7 +132,8 @@ passenv =
|
||||
setenv =
|
||||
PYTHONPATH = {envtmpdir}/mongo-python-driver
|
||||
commands =
|
||||
git clone --depth 1 --branch master https://github.com/mongodb/mongo-python-driver.git {envtmpdir}/mongo-python-driver
|
||||
# TODO: Use "master" as part of MOTOR-1330
|
||||
git clone --depth 1 --branch v4.8 https://github.com/mongodb/mongo-python-driver.git {envtmpdir}/mongo-python-driver
|
||||
python -m pip install -e {envtmpdir}/mongo-python-driver
|
||||
python -m synchro.synchrotest {envtmpdir}/mongo-python-driver -v test/test_auth.py
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user