This commit is contained in:
parent
a86ddd262a
commit
03666c3334
1 changed files with 4 additions and 2 deletions
|
|
@ -5,11 +5,13 @@ steps:
|
||||||
- name: python tests
|
- name: python tests
|
||||||
image: ghcr.io/astral-sh/uv:python3.11-bookworm
|
image: ghcr.io/astral-sh/uv:python3.11-bookworm
|
||||||
commands:
|
commands:
|
||||||
- uv sync --extra ci
|
- uv sync --group ci
|
||||||
- uv run -- coverage run --module unittest
|
- uv run -- coverage run --module unittest
|
||||||
- uv run -- coverage report
|
- uv run -- coverage report
|
||||||
|
|
||||||
- name: code formatting
|
- name: code formatting & linting
|
||||||
image: ghcr.io/astral-sh/uv:python3.11-bookworm
|
image: ghcr.io/astral-sh/uv:python3.11-bookworm
|
||||||
commands:
|
commands:
|
||||||
|
- uv sync
|
||||||
- uv run -- ruff format --diff
|
- uv run -- ruff format --diff
|
||||||
|
- uv run -- ruff check --diff
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue