Files
pyflowx/.github/workflows/ci.yml
T
zhou 5480c48e67
CI / Lint, Typecheck & Test (push) Failing after 22s
ci(github workflows): 移除uv sync的回退命令
简化CI依赖同步步骤,去掉失败后重试的uv sync命令
2026-07-03 13:30:23 +08:00

33 lines
626 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
- 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