Skip to content

Add workflow job on mac to check blas #1207

Add workflow job on mac to check blas

Add workflow job on mac to check blas #1207

Workflow file for this run

name: mypy
on:
pull_request:
push:
branches: [main]
jobs:
mypy:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -leo pipefail {0}
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: "1.5.10-0" # until https://github.com/mamba-org/setup-micromamba/issues/225 is resolved
environment-file: environment.yml
init-shell: bash
cache-environment: true
post-cleanup: "all"
- name: Install pytensor and mypy dependencies
run: |
pip install -e .
python --version
shell: micromamba-shell {0}
- name: Run mypy
run: |
python ./scripts/run_mypy.py --verbose
shell: micromamba-shell {0}