Skip to content

Merge pull request #13 from idoshr/mongoengine_29_1 #109

Merge pull request #13 from idoshr/mongoengine_29_1

Merge pull request #13 from idoshr/mongoengine_29_1 #109

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.4", "5.0", "6.0", "7.0", "8.0"]
python: ["3.8", "3.9", "3.10", "3.11"]
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 }}"