Files
pyflowx/.github/workflows/ci.yml
T
zhou 4446658170
CI / Lint, Typecheck & Test (push) Failing after 23s
ci(github workflows): 优化CI/CD流程,使用自定义容器并简化步骤
1. 为CI和release任务添加自定义pyflowx-ci容器并配置UV链接模式
2. 移除冗余的setup-uv和setup-python步骤,合并依赖同步、代码检查命令
3. 简化步骤命名和执行逻辑,统一使用uv管理工具链
2026-07-03 07:50:59 +08:00

33 lines
637 B
YAML

name: CI
on:
push:
branches: [ main, develop ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
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
- name: Sync dependencies
run: uv sync --frozen || uv sync
- name: Ruff check
run: ruff check src tests
- name: Pyrefly check
run: pyrefly check .
- name: Tox test (py38, py313)
run: uvx tox run -e py38,py313