Skip to content

Complete Type Safety: Eliminating All Pyright Errors #330

Complete Type Safety: Eliminating All Pyright Errors

Complete Type Safety: Eliminating All Pyright Errors #330

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[all] # Install all dependencies, including dev
- name: Print PyTorch Version (Temporary)
run: python -c "import torch; print(torch.__version__)"
- name: Run pre-commit
run: pre-commit run --all-files
- name: Test with pytest
run: pytest