teilchensammler-cli/.forgejo/workflows/prek.yaml

23 lines
630 B
YAML
Raw Permalink Normal View History

# orignally a github action, so who know if this'll work
name: Prek checks
on: [push, pull_request]
jobs:
prek:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v6
- uses: https://code.forgejo.org/actions/setup-python@v6
2026-02-14 19:50:23 +01:00
with:
python-version: "3.14"
cache: "pip"
cache-dependency-path: |
pyproject.toml
requirements*.txt
2026-02-14 19:50:23 +01:00
- run: |
python -m venv venv
. venv/bin/activate
pip install --disable-pip-version-check --require-virtualenv --quiet uv
uv run --active pytest tests.py