Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/python-sdk-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ permissions:
jobs:
check:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
Expand All @@ -25,4 +28,10 @@ jobs:
- run: uv run ruff format --check .
- run: uv run pyright
- run: uv run pytest --cov=decibel --cov-report=xml --cov-report=term
- name: Coverage report on PR
if: matrix.python-version == '3.11' && github.event_name == 'pull_request'
uses: orgoro/coverage@v3.2
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
- run: uv build
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ select = [
"TC", # flake8-type-checking
]

[tool.ruff.lint.per-file-ignores]
"tests/**" = ["SIM117"] # Nested with statements are idiomatic in test mocking

[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = ["pydantic.Field"]

Expand Down
Loading
Loading