-
Notifications
You must be signed in to change notification settings - Fork 423
41 lines (35 loc) · 1.1 KB
/
minimal-install.yml
File metadata and controls
41 lines (35 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: Minimal Install Smoke Test
on:
push:
branches: [main, 1.0-dev]
pull_request:
permissions:
contents: read
jobs:
minimal-install:
name: Verify base-only install
runs-on: ubuntu-latest
if: github.repository == 'a2aproject/a2a-python'
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
- name: Build package
run: uv build --wheel
- name: Install with base dependencies only
run: |
uv venv .venv-minimal
# Install only the built wheel -- no extras, no dev deps.
# This simulates what an end-user gets with `pip install a2a-sdk`.
VIRTUAL_ENV=.venv-minimal uv pip install dist/*.whl
- name: List installed packages
run: VIRTUAL_ENV=.venv-minimal uv pip list
- name: Run import smoke test
run: .venv-minimal/bin/python scripts/test_minimal_install.py