Skip to content

Commit 895b662

Browse files
committed
PYTHON-2070 Migrate MongoDB 4.3+ Windows testing to Windows 2016+
MongoDB 4.4 requires a minimum of Windows 10 / Server 2016.
1 parent 23a6243 commit 895b662

File tree

1 file changed

+34
-5
lines changed

1 file changed

+34
-5
lines changed

.evergreen/config.yml

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,12 @@ axes:
886886
batchtime: 10080 # 7 days
887887
variables:
888888
libmongocrypt_url: https://s3.amazonaws.com/mciuploads/libmongocrypt/windows-test/master/latest/libmongocrypt.tar.gz
889+
- id: windows-vs2017
890+
display_name: "Windows 64 Visual Studio 2017"
891+
run_on: windows-64-vs2017-test
892+
batchtime: 10080 # 7 days
893+
variables:
894+
libmongocrypt_url: https://s3.amazonaws.com/mciuploads/libmongocrypt/windows-test/master/latest/libmongocrypt.tar.gz
889895

890896
# Test with authentication?
891897
- id: auth
@@ -1419,15 +1425,21 @@ buildvariants:
14191425
display_name: "${green-framework} ${python-version} ${platform} ${auth-ssl}"
14201426
tasks: *all-server-versions
14211427

1422-
# Test CPython 3.4 against all versions on MongoDB >= 2.6
1423-
# on Windows with Visual Studio 2010.
1428+
# Test CPython 3.4 against MongoDB 2.6-4.2 on Windows with Visual Studio 2010.
14241429
- matrix_name: "tests-windows-vs2010-python-version"
14251430
matrix_spec:
14261431
platform: windows-vs2010
14271432
python-version: &win-vs2010-pythons ["win-vs2010-3.4"]
14281433
auth-ssl: "*"
14291434
display_name: "${platform} ${python-version} ${auth-ssl}"
1430-
tasks: *all-server-versions
1435+
tasks:
1436+
- ".4.2"
1437+
- ".4.0"
1438+
- ".3.6"
1439+
- ".3.4"
1440+
- ".3.2"
1441+
- ".3.0"
1442+
- ".2.6"
14311443

14321444
# windows-vs2010 3.4 is unable to dlopen the libmongocrypt ddl built on 2016
14331445
#- matrix_name: "tests-windows-vs2010-python-version-encryption"
@@ -1471,15 +1483,22 @@ buildvariants:
14711483
tasks:
14721484
- ".latest"
14731485

1474-
# Test CPython 2.7, 3.5 and 3.6 against all versions on MongoDB >= 2.6
1486+
# Test CPython 2.7, 3.5 and 3.6 against MongoDB 2.6-4.2
14751487
# on Windows with the Microsoft Visual C++ Compiler for Python 2.7 or Visual Studio 2015.
14761488
- matrix_name: "tests-windows-vs2015-python-version-27plus"
14771489
matrix_spec:
14781490
platform: windows-vs2015
14791491
python-version: &win-vs2015-pythons ["win-vs2015-2.7", "win-vs2015-3.5", "win-vs2015-3.6", "win-vs2015-3.7"]
14801492
auth-ssl: "*"
14811493
display_name: "${platform} ${python-version} ${auth-ssl}"
1482-
tasks: *all-server-versions
1494+
tasks:
1495+
- ".4.2"
1496+
- ".4.0"
1497+
- ".3.6"
1498+
- ".3.4"
1499+
- ".3.2"
1500+
- ".3.0"
1501+
- ".2.6"
14831502

14841503
- matrix_name: "tests-windows-vs2015-python-version-encryption"
14851504
matrix_spec:
@@ -1490,6 +1509,16 @@ buildvariants:
14901509
display_name: "Encryption ${platform} ${python-version} ${auth-ssl}"
14911510
tasks: *encryption-server-versions
14921511

1512+
# Test CPython 3.7 against MongoDB >= 4.3 on Windows 2017+.
1513+
- matrix_name: "tests-windows-vs2017"
1514+
matrix_spec:
1515+
platform: windows-vs2017
1516+
python-version: ["win-vs2015-3.7"]
1517+
auth-ssl: "*"
1518+
display_name: "${platform} ${python-version} ${auth-ssl}"
1519+
tasks:
1520+
- .latest
1521+
14931522
# Storage engine tests on RHEL 6.2 (x86_64) with Python 2.7.
14941523
- matrix_name: "tests-storage-engines"
14951524
matrix_spec:

0 commit comments

Comments
 (0)