Docs/updated icprai 2026 paper #74
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 Core | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| core: | |
| runs-on: ubuntu-24.04 | |
| name: Core tests (Python ${{ matrix.python-version }}) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 | |
| with: | |
| python-version: "${{ matrix.python-version }}" | |
| allow-prereleases: true | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@803947b9bd8e9f986429fa0c5a41c367cd732b41 | |
| with: | |
| version: "0.10.10" | |
| - name: Install runtime + dev dependencies (CPU-only torch) | |
| run: uv sync --group dev | |
| env: | |
| UV_TORCH_BACKEND: cpu | |
| - name: Lint core package | |
| run: uv run ruff check src/kiji_inspector/__init__.py src/kiji_inspector/core/ tests/test_runtime_api.py tests/test_core_sae.py tests/test_core_registry.py | |
| - name: Format check core package | |
| run: uv run ruff format --check src/kiji_inspector/__init__.py src/kiji_inspector/core/ tests/test_runtime_api.py tests/test_core_sae.py tests/test_core_registry.py | |
| - name: Run core package tests | |
| run: uv run pytest tests/test_runtime_api.py tests/test_core_sae.py tests/test_core_registry.py | |
| - name: Base install smoke | |
| run: uv run python -c "from kiji_inspector import SAE; from kiji_inspector.core.sae_core import JumpReLUSAE" |