Skip to content

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

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

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

Workflow file for this run

name: CI / Python
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
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