Skip to content

add cloned deps to uv #5

add cloned deps to uv

add cloned deps to uv #5

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
check:
name: "Check Examples"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: examples
- name: Checkout PyWire
uses: actions/checkout@v4
with:
repository: pywire/pywire
path: pywire
token: ${{ secrets.GH_PAT }}
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
python-version: "3.12"
enable-cache: true
- name: Install dependencies
working-directory: examples/demo-app
# We need to ensure pywire is available.
# Since examples are usually run in the workspace, they rely on workspace sources.
# In this isolated CI, we must explicitly add the path or run sync with an override if possible.
# Simple fix: install pywire editable, then sync.
run: |
uv add --editable ../../pywire
uv sync
- name: Run Checks
working-directory: examples
run: ./scripts/check