-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (46 loc) · 1.48 KB
/
benchmark-suite.yml
File metadata and controls
47 lines (46 loc) · 1.48 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
name: Benchmark Suite
on:
workflow_dispatch:
push:
branches: [main]
paths:
- "eval/benchmark-suite.json"
- "eval/ground-truth/**"
- "scripts/run-benchmark-suite.ps1"
- ".github/workflows/benchmark-suite.yml"
pull_request:
branches: [main]
paths:
- "scripts/run-benchmark-suite.ps1"
- "scripts/export-benchmark-diffs.ps1"
- "scripts/score-competitive-benchmark.py"
- "eval/competitor-scope.json"
- "scripts/enrich-benchmark-sonarcloud.py"
- "scripts/enrich-benchmark-semgrep.py"
- "scripts/benchmark_lib.py"
- "scripts/audit-gold-noise.py"
- "scripts/run-gold-noise-audit.ps1"
- "eval/ground-truth/**"
jobs:
benchmark-suite:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.0.x
- name: Export diffs
shell: pwsh
env:
GH_TOKEN: ${{ github.token }}
run: ./scripts/export-benchmark-diffs.ps1 -CiOnly
- name: Run CI fixtures
shell: pwsh
env:
GH_TOKEN: ${{ github.token }}
run: |
./scripts/run-benchmark-suite.ps1 -CiOnly -Sensitivity balanced
python scripts/score-competitive-benchmark.py --ci-only --check
- name: Scorecard check
shell: pwsh
run: python scripts/score-competitive-benchmark.py --fixture stackexchange-redis-pr-2995 --check