Skip to content

docs(README): 完整重寫反映 v0.2 positioning(刻意保持小) #9

docs(README): 完整重寫反映 v0.2 positioning(刻意保持小)

docs(README): 完整重寫反映 v0.2 positioning(刻意保持小) #9

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: test (python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "0.5.11"
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install project + dev deps
run: uv sync --frozen --all-extras
- name: Ruff lint
run: uv run ruff check src tests
- name: Pytest
run: uv run pytest -q
build-docker:
name: docker build smoke
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image (no push)
uses: docker/build-push-action@v6
with:
context: .
push: false
tags: memory-hall:ci
cache-from: type=gha
cache-to: type=gha,mode=max