File tree Expand file tree Collapse file tree 7 files changed +6334
-6263
lines changed
apps/second-brain-offline Expand file tree Collapse file tree 7 files changed +6334
-6263
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,23 @@ name: CI
2
2
on :
3
3
pull_request :
4
4
branches : [main, dev]
5
+ paths :
6
+ - ' apps/second-brain-offline/**'
7
+ - ' apps/second-brain-online/**'
8
+ - ' .github/workflows/ci.yml'
5
9
push :
6
10
branches : [main]
11
+ paths :
12
+ - ' apps/second-brain-offline/**'
13
+ - ' apps/second-brain-online/**'
14
+ - ' .github/workflows/ci.yml'
7
15
8
16
jobs :
9
- lint-format-test :
17
+ lint-format-offline :
10
18
runs-on : ubuntu-latest
19
+ defaults :
20
+ run :
21
+ working-directory : apps/second-brain-offline
11
22
12
23
steps :
13
24
- name : 🛎️ Checkout
19
30
- name : 🐍 Set up Python
20
31
uses : actions/setup-python@v5
21
32
with :
22
- python-version-file : " .python-version"
33
+ python-version-file : " apps/second-brain-offline/ .python-version"
23
34
24
35
- name : 🦾 Install the project
25
36
run : |
32
43
- name : 🔎 Lint Check
33
44
run : make lint-check
34
45
35
- - name : 🧪 Test
36
- run : make test
46
+ lint-format-online :
47
+ runs-on : ubuntu-latest
48
+ defaults :
49
+ run :
50
+ working-directory : apps/second-brain-online
51
+
52
+ steps :
53
+ - name : 🛎️ Checkout
54
+ uses : actions/checkout@v4
55
+
56
+ - name : 📦 Install uv
57
+ uses : astral-sh/setup-uv@v4
58
+
59
+ - name : 🐍 Set up Python
60
+ uses : actions/setup-python@v5
61
+ with :
62
+ python-version-file : " apps/second-brain-online/.python-version"
63
+
64
+ - name : 🦾 Install the project
65
+ run : |
66
+ uv sync --all-extras --dev
67
+ uv pip install -e .
68
+
69
+ - name : 💅 Format Check
70
+ run : make format-check
71
+
72
+ - name : 🔎 Lint Check
73
+ run : make lint-check
You can’t perform that action at this time.
0 commit comments