actions: install a python and let's hope the rest will work
Some checks failed
Prek checks / prek (push) Failing after 37s
ci/woodpecker/push/workflow Pipeline failed

This commit is contained in:
bronsen 2026-02-14 22:02:47 +01:00
parent 0c76ba39b8
commit 46b3dcd091

View file

@ -8,9 +8,15 @@ jobs:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v6
- uses: https://github.com/j178/prek-action@v1
- uses: https://code.forgejo.org/actions/setup-python@v6
with:
install-only: true
python-version: "3.14"
cache: "pip"
cache-dependency-path: |
pyproject.toml
requirements*.txt
- run: |
echo "we needs us a python interpreter"
echo "do we have `uv`?"
python -m venv venv
. venv/bin/activate
pip install --disable-pip-version-check --require-virtualenv --quiet uv
uv run --active pytest tests.py