File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed
Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run Tests
2+
3+ on :
4+ push :
5+ workflow_dispatch :
6+
7+ jobs :
8+ test :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ matrix :
12+ python-version : ["3.10", "3.11", "3.12"]
13+
14+ steps :
15+ - name : Check out repository code
16+ uses : actions/checkout@v4
17+
18+ - name : Set up Python ${{ matrix.python-version }}
19+ uses : actions/setup-python@v5
20+ with :
21+ python-version : ${{ matrix.python-version }}
22+ cache : ' pip'
23+
24+ - name : Install dependencies
25+ run : |
26+ pip install .[dev]
27+
28+ - name : Test
29+ run : |
30+ pytest ./tests
31+
32+ code-style :
33+ runs-on : ubuntu-latest
34+ steps :
35+ - name : Check out repository code
36+ uses : actions/checkout@v4
37+
38+ - name : Set up Python
39+ uses : actions/setup-python@v5
40+ with :
41+ python-version : ' 3.10'
42+
43+ - name : Run pre-commit to check code style
44+ run : |
45+ pip install pre-commit
46+ pre-commit run --all-files
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ description = "Hybird search with SQLite AI and SQLite Vector"
99authors = [{name = " User" }]
1010requires-python = " >=3.10"
1111dependencies = [
12+ " attrs" ,
1213 " typer" ,
1314 " huggingface_hub" ,
1415 " markitdown[all]"
You can’t perform that action at this time.
0 commit comments