ci: fix workspace dependency resolution by cloning pytfm in parent dir
Some checks failed
ci/woodpecker/pr/pipeline Pipeline failed
Some checks failed
ci/woodpecker/pr/pipeline Pipeline failed
This commit is contained in:
@@ -11,6 +11,20 @@ steps:
|
||||
UV_CACHE_DIR: /root/.cache/uv
|
||||
commands:
|
||||
- pip install uv
|
||||
- cd ..
|
||||
- |
|
||||
cat > pyproject.toml << 'EOF'
|
||||
[project]
|
||||
name = "pyaqa"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = []
|
||||
|
||||
[tool.uv.workspace]
|
||||
members = ["blog", "pytfm"]
|
||||
EOF
|
||||
- git clone https://git.pyaqa.ru/pi3c/pytfm.git
|
||||
- cd blog
|
||||
- uv sync --no-dev --group lints --group tests --group types
|
||||
|
||||
- name: lint
|
||||
@@ -57,7 +71,6 @@ steps:
|
||||
depends_on: [deps]
|
||||
commands:
|
||||
- pip install uv
|
||||
- uv sync --no-dev --group lints --group tests --group types
|
||||
- uv run blog &
|
||||
- sleep 5
|
||||
- uv run pytest tests/e2e/ -v
|
||||
|
||||
Reference in New Issue
Block a user