Merge pull request #5 from airo-ugent/mobi #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: static type checking | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- ci-dev | |
jobs: | |
mypy: | |
name: Run MyPy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: install conda env with micromamba | |
uses: mamba-org/[email protected] | |
with: | |
environment-file: environment.yaml | |
cache-environment: true | |
- name: Run type checker | |
shell: bash -l {0} | |
run: | | |
mypy . |