File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ The following secrets must be defined on the project:
1515| ----------------------------- | ------------------------------------------------------------------------------ |
1616| ` FBTOOLS_TARGET_PROJECT ` | The project ID that should be used for integration tests |
1717| ` service_account_json_base64 ` | A base64-encoded service account JSON file with access to the selected project |
18+ | ` GEMINI_API_KEY ` | The Gemini API Key used for Agent Evals |
Original file line number Diff line number Diff line change 1+ name : Agent Evals
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ # Run every 6 hours
7+ - cron : " 0 */6 * * *"
8+
9+ permissions :
10+ contents : read
11+
12+ concurrency :
13+ group : agent-evals-${{ github.ref }}
14+ cancel-in-progress : true
15+
16+ env :
17+ CI : true
18+
19+ jobs :
20+ test :
21+ runs-on : ubuntu-latest
22+ strategy :
23+ matrix :
24+ node-version :
25+ - " 20"
26+ env :
27+ GEMINI_API_KEY : ${{ secrets.GEMINI_API_KEY }}
28+ steps :
29+ - uses : actions/checkout@v4
30+ - uses : actions/setup-node@v3
31+ with :
32+ node-version : ${{ matrix.node-version }}
33+ cache : npm
34+ cache-dependency-path : npm-shrinkwrap.json
35+
36+ 37+ - run : npm install -g @google/gemini-cli
38+ - run : npm ci
39+ - run : npm install
40+ working-directory : scripts/agent-evals
41+ - name : " Run agent-evals tests"
42+ run : npm run test
43+ working-directory : scripts/agent-evals
You can’t perform that action at this time.
0 commit comments