Skip to content

Merge pull request #86 from cobalt-robotics/support-subclass-types #143

Merge pull request #86 from cobalt-robotics/support-subclass-types

Merge pull request #86 from cobalt-robotics/support-subclass-types #143

Workflow file for this run

name: Lint & test
on: [push, pull_request]
jobs:
linters:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: pre-commit/action@v2.0.0
pytest:
name: pytest
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Ensure poetry
uses: abatilo/actions-poetry@v2.1.2
- name: Install dependencies
run: poetry install
- name: Run matrix of tests with Tox
run: poetry run tox