-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 901 Bytes
/
Copy pathvalidate.yml
File metadata and controls
32 lines (29 loc) · 901 Bytes
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
name: Validate framework
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Compile tools
run: python3 -m py_compile framework/tools/*.py install.py
- name: Run framework regression tests
run: python3 -m unittest discover -s tests
- name: Install and lint sanitized example
run: |
vault="$(mktemp -d)"
python3 install.py --vault "$vault"
test -f "$vault/skills/dtm/SKILL.md"
test -f "$vault/skills/voice/SKILL.md"
python3 "$vault/tools/wiki.py" lint
python3 "$vault/tools/dtm.py" lint
python3 "$vault/tools/documents.py" lint
python3 "$vault/tools/writing.py" lint