Merge remote-tracking branch 'upstream/main' #30
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
| name: fork-ci | |
| # CI for the vidaiUK/adk-python fork. | |
| # Runs the model tests on every code push to `main`, and weekly so | |
| # upstream-incompatibility is caught on a schedule rather than mid-emergency. | |
| # Doc-only changes (see paths-ignore) skip the suite — they cannot affect tests. | |
| # Note: uses only static commands - no untrusted github.event.* input. | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - '**.md' | |
| - 'LICENSE' | |
| - '.gitignore' | |
| - 'docs/**' | |
| - 'assets/**' | |
| - '.github/ISSUE_TEMPLATE/**' | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - '**.md' | |
| - 'LICENSE' | |
| - '.gitignore' | |
| - 'docs/**' | |
| - 'assets/**' | |
| - '.github/ISSUE_TEMPLATE/**' | |
| schedule: | |
| - cron: '0 6 * * 1' # Mondays 06:00 UTC | |
| workflow_dispatch: {} | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install | |
| run: pip install -e ".[test]" | |
| - name: Run model tests | |
| # test_interactions_utils.py is excluded because it exercises an | |
| # upstream-only feature (google.genai.interactions API) that is | |
| # broken on the upstream-published library version we install. It | |
| # is unrelated to the base_url patch this fork carries. Re-include | |
| # it if upstream fixes the FunctionCallStep / Interaction schemas. | |
| run: python -m pytest tests/unittests/models/ --ignore=tests/unittests/models/test_interactions_utils.py -q |