-
Notifications
You must be signed in to change notification settings - Fork 3
41 lines (38 loc) · 920 Bytes
/
ci.yml
File metadata and controls
41 lines (38 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
typescript:
runs-on: ubuntu-latest
defaults:
run:
working-directory: typescript
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run check
- run: bun run typecheck
- run: npx vitest run
python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13"]
defaults:
run:
working-directory: python
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v5
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: uv sync --all-extras
- run: uv run ruff check .
- run: uv run ruff format --check .
- run: uv run mypy src/
- run: uv run pytest