mirror of
https://github.com/kennethreitz/rhymepad.org.git
synced 2026-06-11 17:08:33 +00:00
85cf9982a2
GitHub Actions runs pytest on push/PR via uv. App lifespan now loads the g2p model and builds the near-rhyme index at startup so the first keystroke and first lookup are never slow. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
18 lines
282 B
YAML
18 lines
282 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: astral-sh/setup-uv@v5
|
|
with:
|
|
enable-cache: true
|
|
- run: uv sync --frozen
|
|
- run: uv run pytest
|