Skip to content

Merge pull request #21 from QCFD-Lab/repository-info #38

Merge pull request #21 from QCFD-Lab/repository-info

Merge pull request #21 from QCFD-Lab/repository-info #38

Workflow file for this run

name: Typecheck using Mypy
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
mypy:
if: github.repository_owner == 'QCFD-Lab'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12.5
architecture: x64
cache: "pip" # caching pip dependencies
- name: Install mypy
run: |
pip install --upgrade pip
pip install -e .[cpu,dev]
pip install "mypy==1.11.2"
- name: Run mypy
run: mypy qlbm test --config-file pyproject.toml