Skip to content

Commit 35e6b22

Browse files
fix: make examples a UV workspace
1 parent 2f4d447 commit 35e6b22

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,9 @@ jobs:
2929
enable-cache: true
3030

3131
- name: Install dependencies
32-
working-directory: examples/demo-app
33-
# We need to ensure pywire is available.
34-
# Since examples are usually run in the workspace, they rely on workspace sources.
35-
# In this isolated CI, we must explicitly add the path or run sync with an override if possible.
36-
# Simple fix: install pywire editable, then sync.
32+
working-directory: examples
3733
run: |
38-
uv add --editable ../../pywire
34+
uv add --editable ../pywire
3935
uv sync
4036
4137
- name: Run Checks

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[project]
2+
name = "pywire-examples"
3+
version = "0.1.0"
4+
description = "Examples for PyWire"
5+
requires-python = ">=3.12"
6+
dependencies = []
7+
8+
[tool.uv]
9+
members = ["demo-app", "demo-components", "demo-routing"]

0 commit comments

Comments
 (0)