Some checks failed
CI / ci (push) Failing after 12s
- ci.yml: lint (ruff), test (pytest), build (uv build) auf jedem push/PR - release.yml: docker image build + push auf v*-tag, gitea release mit changelog
34 lines
537 B
YAML
34 lines
537 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '**'
|
|
tags-ignore:
|
|
- '**'
|
|
pull_request:
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: docker
|
|
container:
|
|
image: python:3.12-slim
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install uv
|
|
run: pip install --no-cache-dir uv
|
|
|
|
- name: Install dependencies
|
|
run: uv sync --frozen
|
|
|
|
- name: Lint
|
|
run: uvx ruff check app tests
|
|
|
|
- name: Test
|
|
run: uv run pytest
|
|
|
|
- name: Build distribution
|
|
run: uv build
|