Update README.md with docs clarification #54
Workflow file for this run
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: Tests | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| uv venv | |
| uv sync --all-groups | |
| - name: Lint with ruff | |
| run: | | |
| uv run ruff check src/ tests/ | |
| - name: Format with black | |
| run: | | |
| uv run black --check --line-length 120 src/ tests/ | |
| - name: Type check with mypy | |
| run: | | |
| uv run mypy src/ | |
| - name: Test with pytest | |
| run: | | |
| uv run pytest tests/ -v --cov=torch_bspline --cov-report=term-missing |