Skip to content

Add CI: lint, format check, typecheck, and tests on PR (#15) #2

Add CI: lint, format check, typecheck, and tests on PR (#15)

Add CI: lint, format check, typecheck, and tests on PR (#15) #2

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
- feature/batch-api/rc
permissions:
contents: read
jobs:
check:
name: "Lint, typecheck, and test"
runs-on: ubuntu-latest
steps:
- name: "Fetch source code"
uses: actions/checkout@v4
- name: "Install uv"
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- name: "Install dependencies"
run: uv sync --all-extras
- name: "Lint, format check, and typecheck"
run: make check
- name: "Unit tests"
run: make test