openai/chatkit-python
Publicmirrored from https://github.com/openai/chatkit-pythonAvailable
.github/workflows/ci.yml
35lines · modeblame
f688d870victor-openai8 months ago | 1 | name: CI |
| 2 | | |
| 3 | on: | |
| 4 | pull_request: | |
| 5 | workflow_dispatch: | |
cfc7b9efDavid Weedon8 months ago | 6 | merge_group: |
| 7 | types: [checks_requested] | |
f688d870victor-openai8 months ago | 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 | |
778828a4Drew Hintz3 months ago | 18 | uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 |
f688d870victor-openai8 months ago | 19 | |
| 20 | - name: Setup uv | |
778828a4Drew Hintz3 months ago | 21 | uses: astral-sh/setup-uv@e58605a9b6da7c637471fab8847a5e5a6b8df081 # v5 |
f688d870victor-openai8 months ago | 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 |