-
Notifications
You must be signed in to change notification settings - Fork 4
99 lines (82 loc) · 1.88 KB
/
Copy pathci.yml
File metadata and controls
99 lines (82 loc) · 1.88 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
name: Continuous builds
on:
push:
branches:
- main
- development
- experimental
- 'test*'
- 'feat*'
- 'fix*'
paths-ignore:
- 'docs/**'
- 'AGENTS.md'
- 'CLAUDE.md'
- '.github/workflows/docs.yml'
pull_request:
branches:
- main
- development
- experimental
- 'test*'
- 'feat*'
- 'fix*'
paths-ignore:
- 'docs/**'
- 'AGENTS.md'
- 'CLAUDE.md'
- '.github/workflows/docs.yml'
jobs:
build:
env:
UV_SYSTEM_PYTHON: 1
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13"]
fail-fast: false
steps:
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Print refs
run: |
echo "github.ref is: ${{ github.ref }}"
echo "github.base_ref is: ${{ github.base_ref }}"
- name: Update machine
run: |
sudo apt-get update
sudo apt-get upgrade -y
- name: Install package
run: |
uv pip install -r ./requirements.txt
- name: List packages so far
run: |
uv pip list
env
- name: Test commands
run: |
klea-rag --help
klea-rag-serve --help
klea-code --help
klea-vs-create --help
nml-mcp --help
- name: Setup Ollama
uses: ai-action/setup-ollama@v2
- name: Pull default models
run: |
ollama pull qwen3:0.6b
ollama pull bge-m3
- name: Create cache dir
run: |
mkdir -p ~/.cache/nml_mcp/
- name: Run unit tests
run: |
bash ./scripts/run_tests.sh
- name: Lint with ruff
run: |
ruff check . --exit-zero