1. 为CI和release任务添加自定义pyflowx-ci容器并配置UV链接模式 2. 移除冗余的setup-uv和setup-python步骤,合并依赖同步、代码检查命令 3. 简化步骤命名和执行逻辑,统一使用uv管理工具链
This commit is contained in:
+13
-13
@@ -12,21 +12,21 @@ jobs:
|
||||
ci:
|
||||
name: Lint, Typecheck & Test
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: pyflowx-ci:latest
|
||||
env:
|
||||
UV_LINK_MODE: copy
|
||||
steps:
|
||||
- uses: http://gitea:3000/zhou/checkout.git@main
|
||||
|
||||
- uses: http://gitea:3000/zhou/setup-uv.git@v8.1.0
|
||||
with:
|
||||
uv-version: "0.11.26"
|
||||
enable-cache: true
|
||||
- name: Sync dependencies
|
||||
run: uv sync --frozen || uv sync
|
||||
|
||||
- uses: http://gitea:3000/zhou/setup-python.git@v6
|
||||
with:
|
||||
python-version: |
|
||||
3.8
|
||||
3.13
|
||||
- name: Ruff check
|
||||
run: ruff check src tests
|
||||
|
||||
- run: uv sync
|
||||
- run: uv run ruff check src tests
|
||||
- run: uv run pyrefly check .
|
||||
- run: uvx tox run -e py38,py313
|
||||
- name: Pyrefly check
|
||||
run: pyrefly check .
|
||||
|
||||
- name: Tox test (py38, py313)
|
||||
run: uvx tox run -e py38,py313
|
||||
|
||||
Reference in New Issue
Block a user