Make benchmarking 25% faster by parallelizing benchmarking venv setup #221
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: mypy | |
on: [push, pull_request, workflow_dispatch] | |
permissions: | |
contents: read | |
env: | |
FORCE_COLOR: 1 | |
TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817 | |
jobs: | |
mypy: | |
name: Check code with mypy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
cache: "pip" | |
cache-dependency-path: "pyproject.toml" | |
python-version: "3.11" | |
- run: pip install -e .[dev] | |
- run: pip freeze --all | |
- run: mypy |