Skip to content

Merge pull request #27 from David-Lor/develop #114

Merge pull request #27 from David-Lor/develop

Merge pull request #27 from David-Lor/develop #114

Workflow file for this run

name: Test
on:
- push
jobs:
test:
name: Test on Python ${{ matrix.python-version }} @ ubuntu-latest
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.6"
- "3.7"
- "3.8"
services:
mongodb:
image: mongo:latest
ports:
- 27017:27017
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install requirements
run: python -m pip install -r requirements.txt
- name: Install test requirements
run: python -m pip install -r requirements-test.txt
- name: Test
run: pytest -sv .