1
0
Fork 0
forked from sr2/cloud-api
cloud-api/.forgejo/workflows/publish.yaml
luxferre 1012947b67 ci: continue-on-error and ruff format
Tests should still be run if ruff fails
2026-06-09 09:34:45 +01:00

25 lines
547 B
YAML

---
name: ci
on:
push:
branches:
- main
jobs:
lint_and_test:
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
- run: uv run ruff check
- run: uv run ruff format
- run: uv run pytest test
env:
ENVIRONMENT: testing