Create a scripted demo environment that works around the operator while it's broken. #665
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: Type Check | |
| permissions: | |
| contents: read | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'exporters/**' | |
| - 'pyproject.toml' | |
| - '.github/workflows/typecheck.yml' | |
| - 'Makefile' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'exporters/**' | |
| - 'pyproject.toml' | |
| - '.github/workflows/typecheck.yml' | |
| - 'Makefile' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| typecheck: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.11', '3.12', '3.13'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: 'pip' | |
| cache-dependency-path: | | |
| **/requirements*.txt | |
| pyproject.toml | |
| - name: Install dependencies | |
| run: make dev-env | |
| - name: Type Check | |
| run: make typecheck |