1
0
Fork 0
forked from sr2/cloud-api
cloud-api/.forgejo/workflows/publish.yaml

20 lines
392 B
YAML

---
name: ci
on:
push:
branches:
- main
jobs:
lint_and_test:
runs-on: docker
container:
image: ghcr.io/astral-sh/uv:latest
steps:
- uses: actions/checkout@v6
- run: uv python install # Gets Python version from pyproject.toml
- run: uv sync
- run: ruff check
- run: uv run pytest test
env:
ENVIRONMENT: testing