openai/chatkit-python
Publicmirrored fromhttps://github.com/openai/chatkit-pythonAvailable
.github/workflows/ci.yml
35lines · modecode
| 1 | name: CI |
| 2 | |
| 3 | on: |
| 4 | pull_request: |
| 5 | workflow_dispatch: |
| 6 | merge_group: |
| 7 | types: [checks_requested] |
| 8 | |
| 9 | env: |
| 10 | UV_FROZEN: "1" |
| 11 | |
| 12 | jobs: |
| 13 | ci: |
| 14 | name: CI |
| 15 | runs-on: ubuntu-latest |
| 16 | steps: |
| 17 | - name: Checkout |
| 18 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 |
| 19 | |
| 20 | - name: Setup uv |
| 21 | uses: astral-sh/setup-uv@e58605a9b6da7c637471fab8847a5e5a6b8df081 # v5 |
| 22 | with: |
| 23 | enable-cache: true |
| 24 | |
| 25 | - name: Install |
| 26 | run: make sync |
| 27 | |
| 28 | - name: Lint |
| 29 | run: make lint |
| 30 | |
| 31 | - name: Type check |
| 32 | run: make pyright |
| 33 | |
| 34 | - name: Test |
| 35 | run: make test |
| 36 | |