feat: project consistency
This commit is contained in:
parent
7804816a1a
commit
cb70f17ad5
16 changed files with 572 additions and 219 deletions
|
|
@ -6,7 +6,7 @@ on:
|
|||
- main
|
||||
|
||||
jobs:
|
||||
lint_and_test:
|
||||
ruff:
|
||||
runs-on: docker
|
||||
continue-on-error: true
|
||||
container:
|
||||
|
|
@ -17,9 +17,40 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
- run: uv python install # Gets Python version from pyproject.toml
|
||||
- run: uv sync
|
||||
- run: uv sync --dev
|
||||
- run: uv run ruff check
|
||||
- run: uv run ruff format
|
||||
|
||||
ty:
|
||||
runs-on: docker
|
||||
continue-on-error: true
|
||||
container:
|
||||
image: ghcr.io/astral-sh/uv:alpine
|
||||
steps:
|
||||
- run: apk add --no-cache nodejs npm git
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- run: uv python install # Gets Python version from pyproject.toml
|
||||
- run: uv sync --dev
|
||||
- run: uv run ty check
|
||||
- run: uv run ruff format
|
||||
- run: uv run pytest test
|
||||
env:
|
||||
ENVIRONMENT: testing
|
||||
|
||||
tests:
|
||||
runs-on: docker
|
||||
continue-on-error: true
|
||||
container:
|
||||
image: ghcr.io/astral-sh/uv:alpine
|
||||
steps:
|
||||
- run: apk add --no-cache nodejs npm git
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- run: uv python install # Gets Python version from pyproject.toml
|
||||
- run: uv sync --dev
|
||||
- run: uv run pytest test
|
||||
env:
|
||||
ENVIRONMENT: testing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue