Skip to content

Commit f927a01

Browse files
committed
Run TurtleTerm Neovim integration guard in CI
1 parent 7a2cc68 commit f927a01

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/turtle-term-scripts.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
paths:
66
- 'assets/sourceos/**'
77
- 'docs/sourceos/**'
8+
- 'integrations/neovim/**'
89
- 'packaging/homebrew/**'
910
- 'packaging/scripts/**'
1011
- 'README.md'
@@ -15,6 +16,7 @@ on:
1516
paths:
1617
- 'assets/sourceos/**'
1718
- 'docs/sourceos/**'
19+
- 'integrations/neovim/**'
1820
- 'packaging/homebrew/**'
1921
- 'packaging/scripts/**'
2022
- 'README.md'
@@ -33,7 +35,7 @@ jobs:
3335
- name: Install metadata validators
3436
run: |
3537
sudo apt-get update
36-
sudo apt-get install -y desktop-file-utils appstream
38+
sudo apt-get install -y desktop-file-utils appstream lua5.4
3739
3840
- name: Check shell syntax
3941
run: |
@@ -47,6 +49,11 @@ jobs:
4749
desktop-file-validate assets/sourceos/desktop/ai.sourceos.TurtleTerm.desktop
4850
appstreamcli validate --no-net assets/sourceos/desktop/ai.sourceos.TurtleTerm.metainfo.xml
4951
52+
- name: Check Lua syntax
53+
run: |
54+
luac5.4 -p integrations/neovim/turtle.nvim/plugin/turtle.lua
55+
luac5.4 -p integrations/neovim/turtle.nvim/lua/turtle.lua
56+
5057
- name: Check Python syntax
5158
run: |
5259
python3 -m py_compile packaging/scripts/render-stable-homebrew-formula.py
@@ -60,6 +67,7 @@ jobs:
6067
python3 -m py_compile assets/sourceos/tests/test_turtle_agentic_integration_plan.py
6168
python3 -m py_compile assets/sourceos/tests/test_turtle_product_identity.py
6269
python3 -m py_compile assets/sourceos/tests/test_turtle_linux_desktop_identity.py
70+
python3 -m py_compile assets/sourceos/tests/test_turtle_neovim_integration.py
6371
6472
- name: Run smoke test
6573
run: python3 assets/sourceos/tests/test_sourceos_term_smoke.py
@@ -73,6 +81,9 @@ jobs:
7381
- name: Run Linux desktop identity guard
7482
run: python3 assets/sourceos/tests/test_turtle_linux_desktop_identity.py
7583

84+
- name: Run Neovim integration guard
85+
run: python3 assets/sourceos/tests/test_turtle_neovim_integration.py
86+
7687
- name: Run package readiness guard
7788
run: python3 assets/sourceos/tests/test_turtle_term_release_readiness.py
7889

0 commit comments

Comments
 (0)