Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/actions/install-eval-clis/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Install Agent Harnesses
description: Install the Claude Code and GitHub Copilot CLIs used by the evaluation workflows

runs:
using: composite
steps:
- name: Install Claude Code
run: npm install -g @anthropic-ai/claude-code@2.1.160
shell: pwsh

- name: Install GitHub Copilot CLI
run: npm install -g @github/copilot@1.0.57
shell: pwsh
7 changes: 5 additions & 2 deletions .github/workflows/claude-evaluation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
permissions:
contents: read
id-token: write
copilot-requests: write # code-review semantic judge runs via Copilot CLI
name: ${{ matrix.entry }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -113,16 +114,18 @@ jobs:
dotnet tool install -g Microsoft.Dynamics.BusinessCentral.Development.Tools --version 18.0.37.11445-beta
echo "$HOME\.dotnet\tools" >> $env:GITHUB_PATH

- name: Install Claude Code
run: npm install -g @anthropic-ai/claude-code@2.1.160
- name: Install Agent Harnesses
uses: ./.github/actions/install-eval-clis

- name: Run Claude Code for entry ${{ matrix.entry }}
timeout-minutes: 120
shell: pwsh
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
COPILOT_GITHUB_TOKEN: ${{ github.token }} # used by the code-review semantic judge
run: |
Write-Output "::add-mask::$env:ANTHROPIC_API_KEY"
Write-Output "::add-mask::$env:COPILOT_GITHUB_TOKEN"

uv run bcbench evaluate claude "${{ matrix.entry }}" `
--model "${{ inputs.model }}" `
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/copilot-evaluation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ jobs:
dotnet tool install -g Microsoft.Dynamics.BusinessCentral.Development.Tools --version 18.0.37.11445-beta
echo "$HOME\.dotnet\tools" >> $env:GITHUB_PATH

- name: Install GitHub Copilot CLI
run: npm install -g @github/copilot@1.0.57
- name: Install evaluation CLIs
uses: ./.github/actions/install-eval-clis

- name: Run GitHub Copilot CLI for entry ${{ matrix.entry }}
timeout-minutes: 120
Expand Down
Loading