Skip to content

Check types and style in CI #28

Check types and style in CI

Check types and style in CI #28

Workflow file for this run

name: Tests
on:
push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Style check
uses: chartboost/ruff-action@v1
- name: Check types
run: poetry run mypy .
- name: Run tests
run: poetry run pytest -v