Skip to content

mongoengine 29

mongoengine 29 #101

Workflow file for this run

name: CI Tests
on:
push:
branches:
- master
tags:
- "*"
pull_request:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
mongodb-version: ["4.0", "4.2", "4.4", "5.0", "6.0", "7.0"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install nox virtualenv
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.10.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Test build
run: "nox -s ci_cd_tests --python ${{ matrix.python }}"