Download .github/workflows/eval.yml from SaylorTwift/gemini-cli: direct link, hf CLI and curl.
- Browser
- Download file 1.85 kB
-
https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/.github/workflows/eval.yml
- Command line
-
hf download hf://SaylorTwift/gemini-cli/.github/workflows/eval.yml
-
curl -L -o eval.yml https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/.github/workflows/eval.yml
1.85 kB
| name: 'Eval' | |
| on: | |
| workflow_dispatch: | |
| defaults: | |
| run: | |
| shell: 'bash' | |
| permissions: | |
| contents: 'read' | |
| id-token: 'write' | |
| packages: 'read' | |
| jobs: | |
| eval: | |
| name: 'Eval' | |
| if: >- | |
| github.repository == 'google-gemini/gemini-cli' | |
| runs-on: 'ubuntu-latest' | |
| container: | |
| image: 'ghcr.io/google-gemini/gemini-cli-swe-agent-eval@sha256:cd5edc4afd2245c1f575e791c0859b3c084a86bb3bd9a6762296da5162b35a8f' | |
| credentials: | |
| username: '${{ github.actor }}' | |
| password: '${{ secrets.GITHUB_TOKEN }}' | |
| env: | |
| GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | |
| DEFAULT_VERTEXAI_PROJECT: '${{ vars.GOOGLE_CLOUD_PROJECT }}' | |
| GOOGLE_CLOUD_PROJECT: '${{ vars.GOOGLE_CLOUD_PROJECT }}' | |
| GEMINI_API_KEY: '${{ secrets.EVAL_GEMINI_API_KEY }}' | |
| GCLI_LOCAL_FILE_TELEMETRY: 'True' | |
| EVAL_GCS_BUCKET: '${{ vars.EVAL_GCS_ARTIFACTS_BUCKET }}' | |
| steps: | |
| - name: 'Authenticate to Google Cloud' | |
| id: 'auth' | |
| uses: 'google-github-actions/auth@c200f3691d83b41bf9bbd8638997a462592937ed' # ratchet:exclude [email protected] | |
| with: | |
| project_id: '${{ vars.GOOGLE_CLOUD_PROJECT }}' | |
| workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}' | |
| service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}' | |
| token_format: 'access_token' | |
| access_token_scopes: 'https://www.googleapis.com/auth/cloud-platform' | |
| - name: 'Run evaluation' | |
| working-directory: '/app' | |
| run: | | |
| poetry run exp_run --experiment-mode=on-demand --branch-or-commit="${GITHUB_REF_NAME}" --model-name=gemini-2.5-pro --dataset=swebench_verified --concurrency=15 | |
| poetry run python agent_prototypes/scripts/parse_gcli_logs_experiment.py --experiment_dir=experiments/adhoc/gcli_temp_exp --gcs-bucket="${EVAL_GCS_BUCKET}" --gcs-path=gh_action_artifacts | |