Skip to content

chore(deps): bump astral-sh/setup-uv from 10.0.1 to 10.2.0 #132

chore(deps): bump astral-sh/setup-uv from 10.0.1 to 10.2.0

chore(deps): bump astral-sh/setup-uv from 10.0.1 to 10.2.0 #132

Workflow file for this run

name: Verify bundled lm15
on:
pull_request:
paths:
- 'dspy/_vendor/**'
- 'dspy/lm15.py'
- 'dspy/__init__.py'
- 'pyproject.toml'
- 'scripts/update_vendored_lm15.py'
- 'tests/test_vendored_lm15.py'
- '.github/workflows/vendored_lm15.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
installed-wheel:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
with:
python-version: '3.12'
- name: Build source distribution and wheel
# By default, uv builds the wheel from the source distribution.
run: uv build
- name: Test the installed wheel outside the checkout
run: |
uv venv --python 3.12 "$RUNNER_TEMP/lm15-wheel-venv"
uv pip install --python "$RUNNER_TEMP/lm15-wheel-venv/bin/python" dist/*.whl pytest
mkdir "$RUNNER_TEMP/lm15-wheel-tests"
cp tests/test_vendored_lm15.py "$RUNNER_TEMP/lm15-wheel-tests/"
cd "$RUNNER_TEMP/lm15-wheel-tests"
"$RUNNER_TEMP/lm15-wheel-venv/bin/python" -I -m pytest -q test_vendored_lm15.py