File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -220,3 +220,24 @@ jobs:
220
220
which python
221
221
pip install -e ".[test]"
222
222
PYMONGO_MUST_CONNECT=1 pytest -v -k client_context
223
+
224
+ test_minimum :
225
+ runs-on : ubuntu-latest
226
+ name : Test using minimum dependencies and supported Python
227
+ steps :
228
+ - uses : actions/checkout@v4
229
+ with :
230
+ persist-credentials : false
231
+ - name : Install uv
232
+ uses : astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v5
233
+ with :
234
+ python-version : ' 3.9'
235
+ - name : Start MongoDB
236
+ uses : supercharge/mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d # 1.12.0
237
+ with :
238
+ mongodb-version : 6.0
239
+ - name : Run connect test
240
+ shell : bash
241
+ run : |
242
+ uv sync --python=${{ matrix.python-version }} --resolution=lowest-direct
243
+ PYMONGO_MUST_CONNECT=1 pytest -v -k client_context
You can’t perform that action at this time.
0 commit comments