Remove pinned micromamba version from workflow files #3165
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] | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -leo pipefail {0} | |
steps: | |
- uses: actions/checkout@v5 | |
with: | |
persist-credentials: false | |
- uses: mamba-org/setup-micromamba@v2 | |
with: | |
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} |