33 lines
633 B
YAML
33 lines
633 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:1.0.0
|
|
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 src tests
|
|
|
|
- name: Tox test (py38, py313)
|
|
run: uvx tox run -e py38,py313
|