Skip to content

v6.10.1

v6.10.1 #148

Workflow file for this run

name: Tests
on:
push:
branches:
- master
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
services:
mongodb:
image: mongo:latest
ports:
- 27017:27017
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest mongomock
- name: Run unit tests with pytest
run: pytest tests/unittests