Agent Evals #12
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: Agent Evals | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # Run every 6 hours | |
| - cron: "0 */6 * * *" | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: agent-evals-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CI: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: | |
| - "20" | |
| env: | |
| GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: npm | |
| cache-dependency-path: npm-shrinkwrap.json | |
| - run: npm i -g [email protected] | |
| - run: npm install -g @google/gemini-cli | |
| - run: npm ci | |
| - run: npm install | |
| working-directory: scripts/agent-evals | |
| - name: "Run agent-evals tests" | |
| run: npm run test | |
| working-directory: scripts/agent-evals |