ci: switch to python:3.13 full image with git and bash
Some checks failed
ci/woodpecker/pr/pipeline Pipeline failed
Some checks failed
ci/woodpecker/pr/pipeline Pipeline failed
This commit is contained in:
@@ -4,14 +4,13 @@ when:
|
||||
|
||||
steps:
|
||||
- name: deps
|
||||
image: python:3.13-slim
|
||||
image: python:3.13
|
||||
volumes:
|
||||
- /tmp/uv-cache:/root/.cache/uv
|
||||
environment:
|
||||
UV_CACHE_DIR: /root/.cache/uv
|
||||
commands:
|
||||
- pip install uv
|
||||
- apt-get update && apt-get install -y git
|
||||
- cd ..
|
||||
- |
|
||||
cat > pyproject.toml << 'EOF'
|
||||
@@ -29,7 +28,7 @@ steps:
|
||||
- uv sync --no-dev --group lints --group tests --group types
|
||||
|
||||
- name: lint
|
||||
image: python:3.13-slim
|
||||
image: python:3.13
|
||||
volumes:
|
||||
- /tmp/uv-cache:/root/.cache/uv
|
||||
environment:
|
||||
@@ -42,7 +41,7 @@ steps:
|
||||
- uv run isort --check-only .
|
||||
|
||||
- name: type
|
||||
image: python:3.13-slim
|
||||
image: python:3.13
|
||||
volumes:
|
||||
- /tmp/uv-cache:/root/.cache/uv
|
||||
environment:
|
||||
@@ -53,7 +52,7 @@ steps:
|
||||
- uv run mypy .
|
||||
|
||||
- name: test-unit
|
||||
image: python:3.13-slim
|
||||
image: python:3.13
|
||||
volumes:
|
||||
- /tmp/uv-cache:/root/.cache/uv
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user