fix typo #12
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: CI | |
| on: | |
| push: | |
| branches: [master] | |
| paths: | |
| - 'python/**' | |
| - '.github/workflows/ci.yml' | |
| pull_request: | |
| branches: [master] | |
| paths: | |
| - 'python/**' | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v4 | |
| - name: Lint | |
| run: uvx ruff check src tests | |
| working-directory: python | |
| - name: Format check | |
| run: uvx ruff format src tests --check | |
| working-directory: python | |
| typecheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v4 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: uv sync --dev | |
| working-directory: python | |
| - name: Type check | |
| run: uv run ty check src | |
| working-directory: python | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v4 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: uv sync --dev | |
| working-directory: python | |
| - name: Run tests | |
| run: uv run pytest --cov=piezod --cov-report=term-missing | |
| working-directory: python |