Skip to content

refactor: delete minimal catalog and examples #1281

refactor: delete minimal catalog and examples

refactor: delete minimal catalog and examples #1281

# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Python samples
on:
push:
branches:
- main
paths:
- "samples/agent/adk/**"
- "agent_sdks/python/**"
- "specification/**/json/**"
pull_request:
paths:
- "samples/agent/adk/**"
- "agent_sdks/python/**"
- "specification/**/json/**"
permissions:
contents: read
jobs:
build:
name: Build samples
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Install `uv` globally
run: |
python -m pip install --upgrade pip
pip install uv
- name: Check Formatting
working-directory: samples/agent/adk
run: uv run pyink --check .
- name: Validate Sample Examples
run: |
PYTHONPATH=agent_sdks/python/src uv run --project agent_sdks/python pytest -vv samples/agent/adk/tests/test_examples_validation.py
- name: Build orchestrator
working-directory: samples/agent/adk/orchestrator
run: uv build .
- name: Build restaurant_finder
working-directory: samples/agent/adk/restaurant_finder
run: uv build .
- name: Build rizzcharts
working-directory: samples/agent/adk/rizzcharts/python
run: uv build .