@@ -50,13 +50,17 @@ jobs:
5050 cppcheck pymongo
5151
5252 build :
53- # supercharge/mongodb-github-action requires containers so we don't test other platforms
5453 runs-on : ${{ matrix.os }}
5554 strategy :
5655 fail-fast : false
5756 matrix :
5857 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"
6064 name : CPython ${{ matrix.python-version }}-${{ matrix.os }}
6165 steps :
6266 - uses : actions/checkout@v4
@@ -71,10 +75,11 @@ jobs:
7175 python-version : ${{ matrix.python-version }}
7276 - name : Install dependencies
7377 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
7680 with :
77- mongodb-version : 6.0
81+ version : 6.0
82+ topology : replica_set
7883 - name : Run tests
7984 run : just test
8085
@@ -92,10 +97,10 @@ jobs:
9297 with :
9398 enable-cache : true
9499 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
97102 with :
98- mongodb- version : ' 8.0.0-rc4 '
103+ version : 8.0
99104 - name : Install dependencies
100105 run : just install
101106 - name : Run tests
@@ -210,8 +215,8 @@ jobs:
210215 cache-dependency-path : ' sdist/test/pyproject.toml'
211216 # Test sdist on lowest supported Python
212217 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
215220 - name : Run connect test from sdist
216221 shell : bash
217222 run : |
@@ -234,10 +239,11 @@ jobs:
234239 uses : astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v5
235240 with :
236241 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
239244 with :
240- mongodb-version : 6.0
245+ version : 6.0
246+ topology : replica_set
241247 # Async and our test_dns do not support dnspython 1.X, so we don't run async or dns tests here
242248 - name : Run tests
243249 shell : bash
@@ -260,10 +266,11 @@ jobs:
260266 uses : astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v5
261267 with :
262268 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
265271 with :
266- mongodb-version : 6.0
272+ version : 6.0
273+ topology : replica_set
267274 # The lifetime kwarg we use in srv resolution was added to the async resolver API in dnspython 2.1.0
268275 - name : Run tests
269276 shell : bash
0 commit comments