- Notifications
You must be signed in to change notification settings - Fork2.2k
allow compile time constraints in switch/join/make_vector logp rewrites#1823
Workflow file for this run
This file contains hidden or 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:mypy | |
| permissions:{} | |
| on: | |
| pull_request: | |
| push: | |
| branches:[main] | |
| defaults: | |
| run: | |
| shell:bash -leo pipefail {0} | |
| jobs: | |
| mypy: | |
| runs-on:ubuntu-latest | |
| steps: | |
| -uses:actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8# v5.0.0 | |
| with: | |
| persist-credentials:false | |
| -uses:mamba-org/setup-micromamba@add3a49764cedee8ee24e82dfde87f5bc2914462# v2.0.7 | |
| with: | |
| environment-file:conda-envs/environment-test.yml | |
| create-args:>- | |
| python=3.11 | |
| environment-name:pymc-test | |
| init-shell:bash | |
| cache-environment:true | |
| -name:Install-pymc and mypy dependencies | |
| run:| | |
| pip install -e . | |
| python --version | |
| -name:Run mypy | |
| run:| | |
| python ./scripts/run_mypy.py --verbose |