teilchensammler-cli/.forgejo/workflows/prek.yaml
bronsen 46b3dcd091
Some checks failed
Prek checks / prek (push) Failing after 37s
ci/woodpecker/push/workflow Pipeline failed
actions: install a python and let's hope the rest will work
2026-02-14 22:02:47 +01:00

22 lines
630 B
YAML

# 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
with:
python-version: "3.14"
cache: "pip"
cache-dependency-path: |
pyproject.toml
requirements*.txt
- run: |
python -m venv venv
. venv/bin/activate
pip install --disable-pip-version-check --require-virtualenv --quiet uv
uv run --active pytest tests.py