Skip to content

split test workflows to unitand integration #1

split test workflows to unitand integration

split test workflows to unitand integration #1

Workflow file for this run

name: Unit Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install -e .[test]
- name: Test with pytest
run: |
python3 -m pytest -v -m unit