forked from sr2/cloud-api
ci: continue-on-error and ruff format
Tests should still be run if ruff fails
This commit is contained in:
parent
5d1e9c27e7
commit
1012947b67
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
lint_and_test:
|
lint_and_test:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
continue-on-error: true
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/astral-sh/uv:alpine
|
image: ghcr.io/astral-sh/uv:alpine
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -18,6 +19,7 @@ jobs:
|
||||||
- run: uv python install # Gets Python version from pyproject.toml
|
- run: uv python install # Gets Python version from pyproject.toml
|
||||||
- run: uv sync
|
- run: uv sync
|
||||||
- run: uv run ruff check
|
- run: uv run ruff check
|
||||||
|
- run: uv run ruff format
|
||||||
- run: uv run pytest test
|
- run: uv run pytest test
|
||||||
env:
|
env:
|
||||||
ENVIRONMENT: testing
|
ENVIRONMENT: testing
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue