Fix test failures due to changes in numpy API #1360
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 | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
defaults: | |
run: | |
shell: bash -leo pipefail {0} | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
persist-credentials: false | |
- uses: mamba-org/setup-micromamba@v2 | |
with: | |
environment-file: conda-envs/environment-test.yml | |
create-args: >- | |
python=3.10 | |
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 |