feat: add GitHub Actions workflow for running tests on push and pull request
Some checks failed
运行测试 / test (push) Failing after 16m31s
构建并部署文档 / deploy (push) Failing after 8m38s

This commit is contained in:
2026-08-19 21:38:08 +08:00
parent 9bb603b532
commit ee46d98b93
9 changed files with 755 additions and 260 deletions

View File

@@ -7,8 +7,6 @@ on:
paths:
- docs/**
- mkdocs.yml
- pyproject.toml
- uv.lock
- .github/workflows/docs.yml
workflow_dispatch:
@@ -26,7 +24,7 @@ jobs:
uses: astral-sh/setup-uv@v7
- name: 构建文档
run: uv run --frozen mkdocs build --strict --site-dir site
run: uv run --frozen --only-group docs mkdocs build --strict --site-dir site
- name: 整理发布目录
run: |