ci: force UV_PYTHON=3.13, remove --no-dev, install browsers in e2e step
Some checks failed
ci/woodpecker/pr/pipeline Pipeline failed
Some checks failed
ci/woodpecker/pr/pipeline Pipeline failed
This commit is contained in:
@@ -10,6 +10,7 @@ steps:
|
||||
environment:
|
||||
UV_CACHE_DIR: /root/.cache/uv
|
||||
UV_LINK_MODE: copy
|
||||
UV_PYTHON: "3.13"
|
||||
commands:
|
||||
- pip install uv
|
||||
- cd ..
|
||||
@@ -27,8 +28,7 @@ steps:
|
||||
- git clone https://git.pyaqa.ru/pi3c/pytfm.git
|
||||
- cd $CI_WORKSPACE
|
||||
- rm -rf .venv
|
||||
- uv sync --no-dev --group lints --group tests --group types --group dev
|
||||
- uv run --no-sync playwright install chromium
|
||||
- uv sync --group lints --group tests --group types --group dev
|
||||
|
||||
- name: lint
|
||||
image: python:3.13
|
||||
@@ -37,6 +37,7 @@ steps:
|
||||
environment:
|
||||
UV_CACHE_DIR: /root/.cache/uv
|
||||
UV_LINK_MODE: copy
|
||||
UV_PYTHON: "3.13"
|
||||
depends_on: [deps]
|
||||
commands:
|
||||
- pip install uv
|
||||
@@ -51,6 +52,7 @@ steps:
|
||||
environment:
|
||||
UV_CACHE_DIR: /root/.cache/uv
|
||||
UV_LINK_MODE: copy
|
||||
UV_PYTHON: "3.13"
|
||||
depends_on: [deps]
|
||||
commands:
|
||||
- pip install uv
|
||||
@@ -63,6 +65,7 @@ steps:
|
||||
environment:
|
||||
UV_CACHE_DIR: /root/.cache/uv
|
||||
UV_LINK_MODE: copy
|
||||
UV_PYTHON: "3.13"
|
||||
depends_on: [deps]
|
||||
commands:
|
||||
- pip install uv
|
||||
@@ -75,9 +78,11 @@ steps:
|
||||
environment:
|
||||
UV_CACHE_DIR: /root/.cache/uv
|
||||
UV_LINK_MODE: copy
|
||||
UV_PYTHON: "3.13"
|
||||
depends_on: [deps]
|
||||
commands:
|
||||
- pip install uv
|
||||
- uv run --no-sync playwright install chromium
|
||||
- uv run --no-sync blog &
|
||||
- sleep 5
|
||||
- uv run --no-sync pytest tests/e2e/ -v --no-cov
|
||||
|
||||
Reference in New Issue
Block a user