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
Some checks failed
Prek checks / prek (push) Failing after 37s
ci/woodpecker/push/workflow Pipeline failed
This commit is contained in:
parent
0c76ba39b8
commit
46b3dcd091
1 changed files with 10 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue