Skip to content

Commit 11d9013

Browse files
committed
Run tests on all MongoDB versions
1 parent 2b2ac64 commit 11d9013

File tree

2 files changed

+15
-28
lines changed

2 files changed

+15
-28
lines changed

.evergreen/config/legacy-variants.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -261,19 +261,6 @@ buildvariants:
261261
- name: "test-replica_set"
262262
- name: "test-sharded_cluster"
263263

264-
# Test all topologies and MongoDB versions with latest-stable PHP and PHPC on Debian
265-
- matrix_name: "test-mongodb-versions"
266-
matrix_spec: { "os": ["debian92", "debian11"], "mongodb-versions": "*", "php-edge-versions": "latest-stable", "driver-versions": "latest-stable" }
267-
display_name: "${os}, ${mongodb-versions}, ${php-edge-versions}, ${driver-versions}"
268-
exclude_spec:
269-
# Debian 9.2 only supports up to MongoDB 5.0
270-
- { "os": "debian92", "mongodb-versions": ["6.0", "7.0", "rapid", "latest"], "php-edge-versions": "latest-stable", "driver-versions": "latest-stable" }
271-
- { "os": "debian11", "mongodb-versions": ["3.6", "4.0", "4.2", "4.4", "5.0"], "php-edge-versions": "latest-stable", "driver-versions": "latest-stable" }
272-
tasks:
273-
- name: "test-standalone"
274-
- name: "test-replica_set"
275-
- name: "test-sharded_cluster"
276-
277264
# Test oldest-supported PHP, MongoDB, and driver versions with lowest dependencies on Debian
278265
- matrix_name: "test-oldest-supported"
279266
matrix_spec: { "os": "debian92", "mongodb-edge-versions": "oldest-supported", "php-edge-versions": "oldest-supported", "driver-versions": "oldest-supported", "dependencies": "lowest" }

.evergreen/config/test-variants.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ buildvariants:
1717
- ".standalone .local !.3.6 !.4.0 !.4.2 !.4.4 !.5.0"
1818
- ".replicaset .local !.3.6 !.4.0 !.4.2 !.4.4 !.5.0"
1919
- ".sharded .local !.3.6 !.4.0 !.4.2 !.4.4 !.5.0"
20-
# - name: test-debian92-php82-local
21-
# tags: ["test", "debian", "x64"]
22-
# display_name: "Test: Debian 9.2, PHP 8.2"
23-
# run_on: debian92-small
24-
# expansions:
25-
# FETCH_BUILD_VARIANT: "build-debian92"
26-
# FETCH_BUILD_TASK: "build-php-8.2"
27-
# depends_on:
28-
# - variant: "build-debian92"
29-
# name: "build-php-8.2"
30-
# tasks:
31-
# # Remember to add new major versions here as they are released
32-
# - ".standalone .local !.6.0 !.7.0 !.rapid !.latest"
33-
# - ".replicaset .local !.6.0 !.7.0 !.rapid !.latest"
34-
# - ".sharded .local !.6.0 !.7.0 !.rapid !.latest"
20+
- name: test-debian92-php82-local
21+
tags: ["test", "debian", "x64"]
22+
display_name: "Test: Debian 9.2, PHP 8.2"
23+
run_on: debian92-small
24+
expansions:
25+
FETCH_BUILD_VARIANT: "build-debian92"
26+
FETCH_BUILD_TASK: "build-php-8.2"
27+
depends_on:
28+
- variant: "build-debian92"
29+
name: "build-php-8.2"
30+
tasks:
31+
# Remember to add new major versions here as they are released
32+
- ".standalone .local !.6.0 !.7.0 !.rapid !.latest"
33+
- ".replicaset .local !.6.0 !.7.0 !.rapid !.latest"
34+
- ".sharded .local !.6.0 !.7.0 !.rapid !.latest"

0 commit comments

Comments
 (0)