cloud-api/.forgejo/workflows/publish.yaml

21 lines
392 B
YAML
Raw Normal View History

---
name: ci
on:
push:
branches:
- main
jobs:
2026-06-08 13:45:53 +01:00
lint_and_test:
runs-on: docker
container:
image: ghcr.io/astral-sh/uv:alpine
steps:
2026-06-08 14:18:40 +01:00
- uses: actions/checkout@v4
- run: uv python install # Gets Python version from pyproject.toml
- run: uv sync
2026-06-08 13:45:53 +01:00
- run: ruff check
- run: uv run pytest test
env:
ENVIRONMENT: testing