Skip to content

Add dependabot config #60

Add dependabot config

Add dependabot config #60

Workflow file for this run

name: pymongoexplain
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.7"]
fail-fast: true
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: "4.4"
mongodb-replica-set: test-rs
# add caching to reduce bandwidth and save time
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ matrix.python-version}}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-${{ matrix.python-version}}-pip-
- name: Test with python
run: |
python -m pip install -e ".[test]"
python -m unittest discover .