ci: fix workspace dependency resolution by cloning pytfm in parent dir
Some checks failed
ci/woodpecker/pr/pipeline Pipeline failed

This commit is contained in:
2026-05-08 21:56:37 +03:00
parent d9c7bd3dd2
commit 9906af3b88

View File

@@ -11,6 +11,20 @@ steps:
UV_CACHE_DIR: /root/.cache/uv UV_CACHE_DIR: /root/.cache/uv
commands: commands:
- pip install uv - 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 - uv sync --no-dev --group lints --group tests --group types
- name: lint - name: lint
@@ -57,7 +71,6 @@ steps:
depends_on: [deps] depends_on: [deps]
commands: commands:
- pip install uv - pip install uv
- uv sync --no-dev --group lints --group tests --group types
- uv run blog & - uv run blog &
- sleep 5 - sleep 5
- uv run pytest tests/e2e/ -v - uv run pytest tests/e2e/ -v