-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (34 loc) · 1.18 KB
/
Copy pathvalidate.yml
File metadata and controls
44 lines (34 loc) · 1.18 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
name: Validate
on:
push:
pull_request:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install ResearchMemoryKit
run: python -m pip install -e . --no-deps
- name: Run unit tests
run: python -m unittest discover -s tests -v
- name: Validate self-hosted contract
run: rmk check . --strict
- name: Validate bundled examples
run: |
rmk check examples/toy-research-project
rmk check examples/fictional-paper-project
- name: Run executable gate demo
run: python scripts/demo_gate.py
- name: Validate public repo
run: python scripts/validate_public_repo.py .
- name: Smoke-test template initialization
run: |
mkdir -p /tmp/rmk-minimal /tmp/rmk-research /tmp/rmk-delivery
python scripts/init_memory.py minimal /tmp/rmk-minimal
python scripts/init_memory.py research-project /tmp/rmk-research
python scripts/init_memory.py delivery-project /tmp/rmk-delivery