Skip to content

Agent Mode: Logging #24

Agent Mode: Logging

Agent Mode: Logging #24

name: Test - mito-ai mypy
on:
push:
branches: [ dev ]
paths:
- 'mito-ai/**'
pull_request:
paths:
- 'mito-ai/**'
jobs:
test-mito-ai-mypy:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: mito-ai/setup.py
- name: Install dependencies
run: |
cd mito-ai
pip install -e ".[test]"
- name: Check types with MyPY
run: |
mypy mito-ai/mito_ai/ --ignore-missing-imports