Skip to content

feat(py-client): Set up testing, formatters, linters, CI #28

feat(py-client): Set up testing, formatters, linters, CI

feat(py-client): Set up testing, formatters, linters, CI #28

Workflow file for this run

name: CI / Python
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
- name: Format
run: uv run ruff format
- name: Lint
run: uv run ruff check
- name: Run mypy
run: uv run mypy .
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
- name: Run tests
run: uv run pytest python-objectstore-client