@@ -50,13 +50,17 @@ jobs:
50
50
cppcheck pymongo
51
51
52
52
build :
53
- # supercharge/mongodb-github-action requires containers so we don't test other platforms
54
53
runs-on : ${{ matrix.os }}
55
54
strategy :
56
55
fail-fast : false
57
56
matrix :
58
57
os : [ubuntu-latest]
59
- python-version : ["3.9", "pypy-3.10", "3.13", "3.13t"]
58
+ python-version : ["3.9", "pypy-3.10", "3.13t"]
59
+ include :
60
+ - os : windows-latest
61
+ python-version : " 3.13"
62
+ - os : macos-latest
63
+ python-version : " 3.10"
60
64
name : CPython ${{ matrix.python-version }}-${{ matrix.os }}
61
65
steps :
62
66
- uses : actions/checkout@v4
@@ -71,10 +75,11 @@ jobs:
71
75
python-version : ${{ matrix.python-version }}
72
76
- name : Install dependencies
73
77
run : just install
74
- - name : Start MongoDB
75
- uses : supercharge/ mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d # 1.12.0
78
+ - id : setup-mongodb
79
+ uses : mongodb-labs/drivers-evergreen-tools@master
76
80
with :
77
- mongodb-version : 6.0
81
+ version : 6.0
82
+ topology : replica_set
78
83
- name : Run tests
79
84
run : just test
80
85
@@ -92,10 +97,10 @@ jobs:
92
97
with :
93
98
enable-cache : true
94
99
python-version : " 3.9"
95
- - name : Start MongoDB
96
- uses : supercharge/ mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d # 1.12.0
100
+ - id : setup-mongodb
101
+ uses : mongodb-labs/drivers-evergreen-tools@master
97
102
with :
98
- mongodb- version : ' 8.0.0-rc4 '
103
+ version : 8.0
99
104
- name : Install dependencies
100
105
run : just install
101
106
- name : Run tests
@@ -210,8 +215,8 @@ jobs:
210
215
cache-dependency-path : ' sdist/test/pyproject.toml'
211
216
# Test sdist on lowest supported Python
212
217
python-version : ' 3.9'
213
- - name : Start MongoDB
214
- uses : supercharge/ mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d # 1.12.0
218
+ - id : setup-mongodb
219
+ uses : mongodb-labs/drivers-evergreen-tools@master
215
220
- name : Run connect test from sdist
216
221
shell : bash
217
222
run : |
@@ -234,10 +239,11 @@ jobs:
234
239
uses : astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v5
235
240
with :
236
241
python-version : ' 3.9'
237
- - name : Start MongoDB
238
- uses : supercharge/ mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d # 1.12.0
242
+ - id : setup-mongodb
243
+ uses : mongodb-labs/drivers-evergreen-tools@master
239
244
with :
240
- mongodb-version : 6.0
245
+ version : 6.0
246
+ topology : replica_set
241
247
# Async and our test_dns do not support dnspython 1.X, so we don't run async or dns tests here
242
248
- name : Run tests
243
249
shell : bash
@@ -260,10 +266,11 @@ jobs:
260
266
uses : astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v5
261
267
with :
262
268
python-version : ' 3.9'
263
- - name : Start MongoDB
264
- uses : supercharge/ mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d # 1.12.0
269
+ - id : setup-mongodb
270
+ uses : mongodb-labs/drivers-evergreen-tools@master
265
271
with :
266
- mongodb-version : 6.0
272
+ version : 6.0
273
+ topology : replica_set
267
274
# The lifetime kwarg we use in srv resolution was added to the async resolver API in dnspython 2.1.0
268
275
- name : Run tests
269
276
shell : bash
0 commit comments