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
Some checks failed
ci/woodpecker/pr/pipeline Pipeline failed
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user