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:
|
steps:
|
||||||
- name: deps
|
- name: deps
|
||||||
image: python:3.13-slim
|
image: python:3.13
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/uv-cache:/root/.cache/uv
|
- /tmp/uv-cache:/root/.cache/uv
|
||||||
environment:
|
environment:
|
||||||
UV_CACHE_DIR: /root/.cache/uv
|
UV_CACHE_DIR: /root/.cache/uv
|
||||||
commands:
|
commands:
|
||||||
- pip install uv
|
- pip install uv
|
||||||
- apt-get update && apt-get install -y git
|
|
||||||
- cd ..
|
- cd ..
|
||||||
- |
|
- |
|
||||||
cat > pyproject.toml << 'EOF'
|
cat > pyproject.toml << 'EOF'
|
||||||
@@ -29,7 +28,7 @@ steps:
|
|||||||
- uv sync --no-dev --group lints --group tests --group types
|
- uv sync --no-dev --group lints --group tests --group types
|
||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
image: python:3.13-slim
|
image: python:3.13
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/uv-cache:/root/.cache/uv
|
- /tmp/uv-cache:/root/.cache/uv
|
||||||
environment:
|
environment:
|
||||||
@@ -42,7 +41,7 @@ steps:
|
|||||||
- uv run isort --check-only .
|
- uv run isort --check-only .
|
||||||
|
|
||||||
- name: type
|
- name: type
|
||||||
image: python:3.13-slim
|
image: python:3.13
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/uv-cache:/root/.cache/uv
|
- /tmp/uv-cache:/root/.cache/uv
|
||||||
environment:
|
environment:
|
||||||
@@ -53,7 +52,7 @@ steps:
|
|||||||
- uv run mypy .
|
- uv run mypy .
|
||||||
|
|
||||||
- name: test-unit
|
- name: test-unit
|
||||||
image: python:3.13-slim
|
image: python:3.13
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/uv-cache:/root/.cache/uv
|
- /tmp/uv-cache:/root/.cache/uv
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user