Skip to content

Commit

Permalink
Add CI for mypy (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekr-cfa authored Dec 13, 2024
1 parent 801da13 commit e434df5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/mypy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run MyPy

on:
pull_request:
push:
branches: [main]

jobs:
pytest:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install global dependencies
run: |
pip install poetry
- name: Set up
run: |
poetry install
- name: Run myPy
run: |
poetry run mypy .

0 comments on commit e434df5

Please sign in to comment.