-
Notifications
You must be signed in to change notification settings - Fork 770
Add workflow to verify Python example builds #245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
594d7d1
Fix more us artifact registry references in lock files
ava-cassiopeia d98aadc
Create GH workflow for python examples
ava-cassiopeia 226422c
Clean up python workflow file
ava-cassiopeia 69a5893
Trivial change to test the workflow rule
ava-cassiopeia 136fbb3
Also omit these new dirs from the web builds (they truly don't affect…
ava-cassiopeia 3e6a101
Another trivial testing change
ava-cassiopeia 910d283
Add workflow file for Java example (#247)
ava-cassiopeia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # Automatic build file output from some IDEs and editors | ||
| target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2,025 changes: 2,025 additions & 0 deletions
2,025
a2a_agents/python/adk/samples/restaurant_finder/uv.lock
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.