Skip to content

Qulacs dm gen sampler #466

Qulacs dm gen sampler

Qulacs dm gen sampler #466

Workflow file for this run

name: Type check
on:
pull_request:
paths:
- packages/**/*.py
- poetry.lock
- mypy.ini
- .github/workflows/typecheck.yml
push:
branches: [main]
jobs:
typecheck:
strategy:
matrix:
python_version:
- 3.9
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/python-poetry-install
with:
poetry-version: '1.4.0'
python-version: ${{ matrix.python_version }}
- run: |
poetry env use ${{ matrix.python_version }}
poetry install --only main,dev,typecheck
- name: Cache mypy cache
uses: AustinScola/mypy-cache-github-action@v1.0.0
- run: poetry run mypy .
if: success() || failure()