Skip to content

No public description #3

No public description

No public description #3

Workflow file for this run

name: Run Examples on Tag
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
run-examples:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install google-antigravity
- name: Run examples
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
run: |
cd examples/getting_started
for f in *.py; do
if [ "$f" = "human_in_the_loop.py" ]; then
echo "Skipping interactive script: $f"
continue
fi
echo "Running $f"
python "$f" || exit 1
done