Skip to content

Cumulative lint

Cumulative lint #31

Workflow file for this run

name: Check style, test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install black mypy pytest
python -m pip install -r requirements.txt
- name: Check code formatting with Black
run: |
black --version
black --check .
- name: Type check with Mypy
run: |
mypy --version
mypy --install-types --non-interactive --disallow-untyped-defs --ignore-missing-imports .
- name: Run tests with Pytest
run: |
pytest --version
pytest