Skip to content
14 changes: 14 additions & 0 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,17 @@
which python
pip install -e ".[test]"
PYMONGO_MUST_CONNECT=1 pytest -v -k client_context
test_minimum:
runs-on: ubuntu-latest
name: Test using minimum dependencies and supported Python
steps:
- name: Start MongoDB
uses: supercharge/mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d # 1.12.0
with:
mongodb-version: 6.0
- name: Run connect test
shell: bash
run: |
uv sync --python=${{ matrix.python-version }} --resolution=lowest-direct
PYMONGO_MUST_CONNECT=1 pytest -v -k client_context
Loading