Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/editor_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ name: Editor build
on:
push:
branches: [ main ]
paths-ignore:
- 'a2a_agents/python/adk/samples/**'
pull_request:
paths-ignore:
- 'a2a_agents/python/adk/samples/**'

jobs:
build:
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/java_build_and_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Java sample build and test

on:
push:
branches:
- main
paths:
- 'a2a_agents/java/**'
pull_request:
paths:
- 'a2a_agents/java/**'

jobs:
build-and-test:
name: Build and test Java agent sample
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'

- name: Build with Maven
working-directory: a2a_agents/java
run: mvn clean install

- name: Run Tests
working-directory: a2a_agents/java
run: mvn test
4 changes: 4 additions & 0 deletions .github/workflows/lit_samples_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ name: Lit samples build
on:
push:
branches: [ main ]
paths-ignore:
- 'a2a_agents/python/adk/samples/**'
pull_request:
paths-ignore:
- 'a2a_agents/python/adk/samples/**'

jobs:
build:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ng_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ name: Angular build and test
on:
push:
branches: [ main ]
paths-ignore:
- 'a2a_agents/python/adk/samples/**'
pull_request:
paths-ignore:
- 'a2a_agents/python/adk/samples/**'

jobs:
build-and-test:
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/python_samples_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build python samples

on:
push:
branches:
- main
paths:
- 'a2a_agents/python/adk/samples/**'
pull_request:
paths:
- 'a2a_agents/python/adk/samples/**'

jobs:
build:
name: Build samples
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install `uv` globally
run: |
python -m pip install --upgrade pip
pip install uv

- name: Build contact_lookup
working-directory: a2a_agents/python/adk/samples/contact_lookup
run: uv build .

- name: Build orchestrator
working-directory: a2a_agents/python/adk/samples/orchestrator
run: uv build .

- name: Build restaurant_finder
working-directory: a2a_agents/python/adk/samples/restaurant_finder
run: uv build .

- name: Build rizzcharts
working-directory: a2a_agents/python/adk/samples/rizzcharts
run: uv build .
4 changes: 4 additions & 0 deletions .github/workflows/web_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ name: Web (Lit) build and test
on:
push:
branches: [ main ]
paths-ignore:
- 'a2a_agents/python/adk/samples/**'
pull_request:
paths-ignore:
- 'a2a_agents/python/adk/samples/**'

jobs:
build-and-test:
Expand Down
2 changes: 2 additions & 0 deletions a2a_agents/java/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Automatic build file output from some IDEs and editors
target
4 changes: 2 additions & 2 deletions a2a_agents/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<version>0.1.0-SNAPSHOT</version>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<a2a.sdk.version>0.3.3.Final</a2a.sdk.version>
<junit.version>5.10.2</junit.version>
Expand Down
7 changes: 7 additions & 0 deletions a2a_agents/python/adk/samples/contact_lookup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ This sample uses the Agent Development Kit (ADK) along with the A2A protocol to

```bash
echo "GEMINI_API_KEY=your_api_key_here" > .env
```

3. Run the server:

```bash
uv run .
```


## Disclaimer
Expand Down
2 changes: 1 addition & 1 deletion a2a_agents/python/adk/samples/restaurant_finder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This sample uses the Agent Development Kit (ADK) along with the A2A protocol to
echo "GEMINI_API_KEY=your_api_key_here" > .env
```

3. Run an agent:
3. Run the agent server:

```bash
uv run .
Expand Down
2,025 changes: 2,025 additions & 0 deletions a2a_agents/python/adk/samples/restaurant_finder/uv.lock

Large diffs are not rendered by default.

2,950 changes: 1,475 additions & 1,475 deletions a2a_agents/python/uv.lock

Large diffs are not rendered by default.