cloud-api/.forgejo/workflows/publish.yaml
luxferre 5d2420261c
Some checks failed
ci / lint_and_test (push) Failing after 1s
ci: node action for checkout action
2026-06-08 14:21:11 +01:00

25 lines
512 B
YAML

---
name: ci
on:
push:
branches:
- main
jobs:
lint_and_test:
runs-on: docker
container:
image: ghcr.io/astral-sh/uv:alpine
steps:
- uses: actions/setup-node@v4
with:
node-version: '20'
- 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