cloud-api/.forgejo/workflows/publish.yaml
luxferre 1533c86335
Some checks failed
ci / lint_and_test (push) Failing after 3s
ci: git within container
2026-06-08 14:45:54 +01:00

23 lines
480 B
YAML

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