Address some ci failures with developer tooling #659
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 (ignore failures for now) | |
| on: | |
| 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' | |
| jobs: | |
| typecheck: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.9', '3.10', '3.11'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: 'pip' | |
| cache-dependency-path: | | |
| **/requirements*.txt | |
| pyproject.toml | |
| - name: Install dependencies | |
| run: make dev-env | |
| - name: Install node | |
| run: sudo apt-get install nodejs | |
| - name: Type Check | |
| continue-on-error: true | |
| run: make typecheck |