Skip to content

1.0.1

1.0.1 #33

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"]
python: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
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.7.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Test build
run: "nox -s ci_cd_tests --python ${{ matrix.python }}"