Skip to content

Commit 5b42ed8

Browse files
authored
PYTHON-5286 Create server version variants (#2270)
1 parent 5b0862e commit 5b42ed8

File tree

4 files changed

+377
-154
lines changed

4 files changed

+377
-154
lines changed

.evergreen/generated_configs/tasks.yml

+269-13
Original file line numberDiff line numberDiff line change
@@ -820,19 +820,7 @@ tasks:
820820
- name: coverage-report
821821
commands:
822822
- func: download and merge coverage
823-
depends_on:
824-
- name: .standalone
825-
variant: .coverage_tag
826-
status: "*"
827-
patch_optional: true
828-
- name: .replica_set
829-
variant: .coverage_tag
830-
status: "*"
831-
patch_optional: true
832-
- name: .sharded_cluster
833-
variant: .coverage_tag
834-
status: "*"
835-
patch_optional: true
823+
depends_on: [{ name: .server-version, variant: .coverage_tag, status: "*", patch_optional: true }]
836824
tags: [coverage]
837825

838826
# Doctest tests
@@ -8031,6 +8019,274 @@ tasks:
80318019
- nossl
80328020
- sync_async
80338021

8022+
# Server version tests
8023+
- name: test-python3.9-auth-ssl-sharded-cluster-cov
8024+
commands:
8025+
- func: run server
8026+
vars:
8027+
AUTH: auth
8028+
SSL: ssl
8029+
TOPOLOGY: sharded_cluster
8030+
COVERAGE: "1"
8031+
- func: run tests
8032+
vars:
8033+
AUTH: auth
8034+
SSL: ssl
8035+
TOPOLOGY: sharded_cluster
8036+
COVERAGE: "1"
8037+
PYTHON_VERSION: "3.9"
8038+
tags: [server-version, "3.9", sharded_cluster-auth-ssl]
8039+
- name: test-python3.10-auth-ssl-sharded-cluster-cov
8040+
commands:
8041+
- func: run server
8042+
vars:
8043+
AUTH: auth
8044+
SSL: ssl
8045+
TOPOLOGY: sharded_cluster
8046+
COVERAGE: "1"
8047+
- func: run tests
8048+
vars:
8049+
AUTH: auth
8050+
SSL: ssl
8051+
TOPOLOGY: sharded_cluster
8052+
COVERAGE: "1"
8053+
PYTHON_VERSION: "3.10"
8054+
tags: [server-version, "3.10", sharded_cluster-auth-ssl]
8055+
- name: test-python3.11-auth-ssl-sharded-cluster-cov
8056+
commands:
8057+
- func: run server
8058+
vars:
8059+
AUTH: auth
8060+
SSL: ssl
8061+
TOPOLOGY: sharded_cluster
8062+
COVERAGE: "1"
8063+
- func: run tests
8064+
vars:
8065+
AUTH: auth
8066+
SSL: ssl
8067+
TOPOLOGY: sharded_cluster
8068+
COVERAGE: "1"
8069+
PYTHON_VERSION: "3.11"
8070+
tags: [server-version, "3.11", sharded_cluster-auth-ssl]
8071+
- name: test-python3.12-auth-ssl-sharded-cluster-cov
8072+
commands:
8073+
- func: run server
8074+
vars:
8075+
AUTH: auth
8076+
SSL: ssl
8077+
TOPOLOGY: sharded_cluster
8078+
COVERAGE: "1"
8079+
- func: run tests
8080+
vars:
8081+
AUTH: auth
8082+
SSL: ssl
8083+
TOPOLOGY: sharded_cluster
8084+
COVERAGE: "1"
8085+
PYTHON_VERSION: "3.12"
8086+
tags: [server-version, "3.12", sharded_cluster-auth-ssl]
8087+
- name: test-python3.13-auth-ssl-sharded-cluster-cov
8088+
commands:
8089+
- func: run server
8090+
vars:
8091+
AUTH: auth
8092+
SSL: ssl
8093+
TOPOLOGY: sharded_cluster
8094+
COVERAGE: "1"
8095+
- func: run tests
8096+
vars:
8097+
AUTH: auth
8098+
SSL: ssl
8099+
TOPOLOGY: sharded_cluster
8100+
COVERAGE: "1"
8101+
PYTHON_VERSION: "3.13"
8102+
tags: [server-version, "3.13", sharded_cluster-auth-ssl]
8103+
- name: test-pypy3.10-auth-ssl-sharded-cluster
8104+
commands:
8105+
- func: run server
8106+
vars:
8107+
AUTH: auth
8108+
SSL: ssl
8109+
TOPOLOGY: sharded_cluster
8110+
- func: run tests
8111+
vars:
8112+
AUTH: auth
8113+
SSL: ssl
8114+
TOPOLOGY: sharded_cluster
8115+
PYTHON_VERSION: pypy3.10
8116+
tags: [server-version, pypy3.10, sharded_cluster-auth-ssl]
8117+
- name: test-python3.9-auth-ssl-standalone-cov
8118+
commands:
8119+
- func: run server
8120+
vars:
8121+
AUTH: auth
8122+
SSL: ssl
8123+
TOPOLOGY: standalone
8124+
COVERAGE: "1"
8125+
- func: run tests
8126+
vars:
8127+
AUTH: auth
8128+
SSL: ssl
8129+
TOPOLOGY: standalone
8130+
COVERAGE: "1"
8131+
PYTHON_VERSION: "3.9"
8132+
tags: [server-version, "3.9", standalone-auth-ssl]
8133+
- name: test-python3.10-auth-nossl-standalone-cov
8134+
commands:
8135+
- func: run server
8136+
vars:
8137+
AUTH: auth
8138+
SSL: nossl
8139+
TOPOLOGY: standalone
8140+
COVERAGE: "1"
8141+
- func: run tests
8142+
vars:
8143+
AUTH: auth
8144+
SSL: nossl
8145+
TOPOLOGY: standalone
8146+
COVERAGE: "1"
8147+
PYTHON_VERSION: "3.10"
8148+
tags: [server-version, "3.10", standalone-auth-nossl]
8149+
- name: test-python3.11-noauth-ssl-standalone-cov
8150+
commands:
8151+
- func: run server
8152+
vars:
8153+
AUTH: noauth
8154+
SSL: ssl
8155+
TOPOLOGY: standalone
8156+
COVERAGE: "1"
8157+
- func: run tests
8158+
vars:
8159+
AUTH: noauth
8160+
SSL: ssl
8161+
TOPOLOGY: standalone
8162+
COVERAGE: "1"
8163+
PYTHON_VERSION: "3.11"
8164+
tags: [server-version, "3.11", standalone-noauth-ssl]
8165+
- name: test-python3.12-noauth-nossl-standalone-cov
8166+
commands:
8167+
- func: run server
8168+
vars:
8169+
AUTH: noauth
8170+
SSL: nossl
8171+
TOPOLOGY: standalone
8172+
COVERAGE: "1"
8173+
- func: run tests
8174+
vars:
8175+
AUTH: noauth
8176+
SSL: nossl
8177+
TOPOLOGY: standalone
8178+
COVERAGE: "1"
8179+
PYTHON_VERSION: "3.12"
8180+
tags: [server-version, "3.12", standalone-noauth-nossl]
8181+
- name: test-python3.13-auth-ssl-replica-set-cov
8182+
commands:
8183+
- func: run server
8184+
vars:
8185+
AUTH: auth
8186+
SSL: ssl
8187+
TOPOLOGY: replica_set
8188+
COVERAGE: "1"
8189+
- func: run tests
8190+
vars:
8191+
AUTH: auth
8192+
SSL: ssl
8193+
TOPOLOGY: replica_set
8194+
COVERAGE: "1"
8195+
PYTHON_VERSION: "3.13"
8196+
tags: [server-version, "3.13", replica_set-auth-ssl]
8197+
- name: test-pypy3.10-auth-nossl-replica-set
8198+
commands:
8199+
- func: run server
8200+
vars:
8201+
AUTH: auth
8202+
SSL: nossl
8203+
TOPOLOGY: replica_set
8204+
- func: run tests
8205+
vars:
8206+
AUTH: auth
8207+
SSL: nossl
8208+
TOPOLOGY: replica_set
8209+
PYTHON_VERSION: pypy3.10
8210+
tags: [server-version, pypy3.10, replica_set-auth-nossl]
8211+
- name: test-python3.9-noauth-ssl-replica-set-cov
8212+
commands:
8213+
- func: run server
8214+
vars:
8215+
AUTH: noauth
8216+
SSL: ssl
8217+
TOPOLOGY: replica_set
8218+
COVERAGE: "1"
8219+
- func: run tests
8220+
vars:
8221+
AUTH: noauth
8222+
SSL: ssl
8223+
TOPOLOGY: replica_set
8224+
COVERAGE: "1"
8225+
PYTHON_VERSION: "3.9"
8226+
tags: [server-version, "3.9", replica_set-noauth-ssl]
8227+
- name: test-python3.10-noauth-nossl-replica-set-cov
8228+
commands:
8229+
- func: run server
8230+
vars:
8231+
AUTH: noauth
8232+
SSL: nossl
8233+
TOPOLOGY: replica_set
8234+
COVERAGE: "1"
8235+
- func: run tests
8236+
vars:
8237+
AUTH: noauth
8238+
SSL: nossl
8239+
TOPOLOGY: replica_set
8240+
COVERAGE: "1"
8241+
PYTHON_VERSION: "3.10"
8242+
tags: [server-version, "3.10", replica_set-noauth-nossl]
8243+
- name: test-python3.12-auth-nossl-sharded-cluster-cov
8244+
commands:
8245+
- func: run server
8246+
vars:
8247+
AUTH: auth
8248+
SSL: nossl
8249+
TOPOLOGY: sharded_cluster
8250+
COVERAGE: "1"
8251+
- func: run tests
8252+
vars:
8253+
AUTH: auth
8254+
SSL: nossl
8255+
TOPOLOGY: sharded_cluster
8256+
COVERAGE: "1"
8257+
PYTHON_VERSION: "3.12"
8258+
tags: [server-version, "3.12", sharded_cluster-auth-nossl]
8259+
- name: test-python3.13-noauth-ssl-sharded-cluster-cov
8260+
commands:
8261+
- func: run server
8262+
vars:
8263+
AUTH: noauth
8264+
SSL: ssl
8265+
TOPOLOGY: sharded_cluster
8266+
COVERAGE: "1"
8267+
- func: run tests
8268+
vars:
8269+
AUTH: noauth
8270+
SSL: ssl
8271+
TOPOLOGY: sharded_cluster
8272+
COVERAGE: "1"
8273+
PYTHON_VERSION: "3.13"
8274+
tags: [server-version, "3.13", sharded_cluster-noauth-ssl]
8275+
- name: test-pypy3.10-noauth-nossl-sharded-cluster
8276+
commands:
8277+
- func: run server
8278+
vars:
8279+
AUTH: noauth
8280+
SSL: nossl
8281+
TOPOLOGY: sharded_cluster
8282+
- func: run tests
8283+
vars:
8284+
AUTH: noauth
8285+
SSL: nossl
8286+
TOPOLOGY: sharded_cluster
8287+
PYTHON_VERSION: pypy3.10
8288+
tags: [server-version, pypy3.10, sharded_cluster-noauth-nossl]
8289+
80348290
# Serverless tests
80358291
- name: test-serverless
80368292
commands:

0 commit comments

Comments
 (0)