Skip to content

Embedded UML

Embedded UML #271

Workflow file for this run

name: Merge Test
on:
push:
branches:
- master
- v*.*
pull_request:
branches:
- master
- v*.*
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 3
matrix:
python-version: [3.7, 3.8, "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Prepare environment
run: |
python3 -m pip install --upgrade pip
pip install -e .
- name: Lint with flake8
run: |
pip install -e .[dev]
flake8 . --count --show-source --statistics
- name: Check with MyPy
run: |
pip install -e .[test]
mypy source unit-tests system-tests
- name: Test with pytest
run: |
pip install .[test]
pytest --cov stylist --cov-fail-under=75