Fixed an error in STAR device where physical error rate exceed a certain value #487
Workflow file for this run
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: 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() |