Fix duplicate entries in 'When to use it' section #37
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: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v3 | |
| with: | |
| python-version: "3.11" | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: uv sync --all-groups --frozen | |
| - name: Ruff lint | |
| run: uv run ruff check --output-format=github . | |
| - name: Ty type check | |
| run: uv run ty check src/ | |
| - name: Pytest | |
| run: uv run pytest --cov-report=xml | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| files: ./coverage.xml | |
| fail_ci_if_error: false |