-
Notifications
You must be signed in to change notification settings - Fork 6
55 lines (50 loc) · 1.66 KB
/
Copy patheval.yml
File metadata and controls
55 lines (50 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Skill Evals
on:
workflow_dispatch:
inputs:
model:
description: "Model to evaluate against"
required: true
default: "claude-sonnet-4.6"
type: choice
options:
- claude-sonnet-4.6
- claude-opus-4.6
- gpt-4.1
- gpt-5.2
tasks:
description: "Task filter glob (blank = all)"
required: false
type: string
tags:
description: "Tag filter (blank = all)"
required: false
type: string
jobs:
eval:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install waza
run: curl -fsSL https://raw.githubusercontent.com/microsoft/waza/main/install.sh | bash
- name: Run evals
working-directory: evals/tfctl-evals
env:
# Uses the Actions-provided GITHUB_TOKEN if org has Copilot enabled.
# Falls back to COPILOT_TOKEN secret if that doesn't work.
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_TOKEN || github.token }}
run: |
ARGS="--model ${{ inputs.model }}"
if [ -n "${{ inputs.tasks }}" ]; then
ARGS="$ARGS --task '${{ inputs.tasks }}'"
fi
if [ -n "${{ inputs.tags }}" ]; then
ARGS="$ARGS --tags '${{ inputs.tags }}'"
fi
eval waza run evals/tfctl/eval.yaml $ARGS -o results.json
- name: Upload results
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: eval-results-${{ inputs.model }}
path: evals/tfctl-evals/results.json