ci: install playwright in deps step, use python:3.13 for e2e to avoid python version mismatch
Some checks failed
ci/woodpecker/pr/pipeline Pipeline failed

This commit is contained in:
2026-05-09 18:17:54 +03:00
parent e346ea3ff5
commit 0889a0b405

View File

@@ -27,7 +27,8 @@ steps:
- git clone https://git.pyaqa.ru/pi3c/pytfm.git - git clone https://git.pyaqa.ru/pi3c/pytfm.git
- cd $CI_WORKSPACE - cd $CI_WORKSPACE
- rm -rf .venv - rm -rf .venv
- uv sync --no-dev --group lints --group tests --group types - uv sync --no-dev --group lints --group tests --group types --group dev
- uv run --no-sync playwright install chromium
- name: lint - name: lint
image: python:3.13 image: python:3.13
@@ -68,7 +69,7 @@ steps:
- uv run --no-sync pytest tests/unit/ - uv run --no-sync pytest tests/unit/
- name: test-e2e - name: test-e2e
image: mcr.microsoft.com/playwright/python:v1.59.0 image: python:3.13
volumes: volumes:
- /tmp/uv-cache:/root/.cache/uv - /tmp/uv-cache:/root/.cache/uv
environment: environment: