Ensure chunk markings are preserved by other combinators #42
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: | |
| - main | |
| pull_request: | |
| branches: | |
| - "*" | |
| env: | |
| CLICOLOR: 1 | |
| jobs: | |
| check: | |
| name: Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the Repository | |
| uses: actions/checkout@v4 | |
| - name: Check with ruff | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| args: check | |
| spelling: | |
| name: Spellcheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the Repository | |
| uses: actions/checkout@v4 | |
| - name: Spellcheck repo | |
| uses: crate-ci/typos@v1.32.0 | |
| fmt: | |
| name: Formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the Repository | |
| uses: actions/checkout@v4 | |
| - name: Check with ruff | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| args: "format --diff --check" | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the Repository | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Setup Python | |
| run: uv python install | |
| - name: Install numcodecs-combinators | |
| run: uv sync --all-extras --dev && uv pip install . | |
| - name: Run tests | |
| run: uv run pytest -v -W error | |
| mypy: | |
| name: Typecheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the Repository | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Setup Python | |
| run: uv python install | |
| - name: Install numcodecs-combinators | |
| run: uv sync --all-extras --dev && uv pip install . | |
| - name: Typecheck numcodecs-combinators | |
| run: uv run mypy -p numcodecs_combinators |