-
Notifications
You must be signed in to change notification settings - Fork 2
68 lines (57 loc) · 1.65 KB
/
Copy pathci-skill-evals.yaml
File metadata and controls
68 lines (57 loc) · 1.65 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
56
57
58
59
60
61
62
63
64
65
66
67
68
---
name: Python Tooling and Skill Eval Checks
# yamllint disable-line rule:truthy
on:
push:
branches:
- main
paths:
- ".github/workflows/ci-skill-evals.yaml"
- "evals/**"
- "hooks/cursor/**"
- "pyproject.toml"
- "skills/**"
- "uv.lock"
pull_request:
branches:
- main
paths:
- ".github/workflows/ci-skill-evals.yaml"
- "evals/**"
- "hooks/cursor/**"
- "pyproject.toml"
- "skills/**"
- "uv.lock"
permissions:
contents: read
concurrency:
group: skill-evals-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
deterministic:
name: Validate Python tools and skill evals
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.14"
- name: Set up uv
uses: astral-sh/setup-uv@v9
- name: Install locked development tools
run: uv sync --frozen --dev
- name: Lint and format-check Python
run: |
uv run ruff check evals hooks/cursor
uv run ruff check hooks/cursor/*.py --select D --config "lint.pydocstyle.convention='google'"
uv run ruff format --check evals hooks/cursor
uv run pylint hooks/cursor/*.py
- name: Validate skills and eval definitions
run: uv run python -m evals.skill_eval validate
- name: Run Python unit tests
run: |
uv run python -m unittest discover -s evals/tests -v
uv run python -m unittest discover -s hooks/cursor/tests -v