Make Neovim first-class in agentic integration guard #105
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: TurtleTerm Script Checks | |
| on: | |
| pull_request: | |
| paths: | |
| - 'assets/sourceos/**' | |
| - 'docs/sourceos/**' | |
| - 'packaging/homebrew/**' | |
| - 'packaging/scripts/**' | |
| - 'README.md' | |
| - '.github/workflows/turtle-term-scripts.yml' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'assets/sourceos/**' | |
| - 'docs/sourceos/**' | |
| - 'packaging/homebrew/**' | |
| - 'packaging/scripts/**' | |
| - 'README.md' | |
| - '.github/workflows/turtle-term-scripts.yml' | |
| workflow_dispatch: | |
| jobs: | |
| script-checks: | |
| name: Script and package checks | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Install metadata validators | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y desktop-file-utils appstream | |
| - name: Check shell syntax | |
| run: | | |
| bash -n packaging/scripts/install-turtle-term.sh | |
| bash -n packaging/scripts/package-turtle-term.sh | |
| bash -n packaging/scripts/bootstrap-homebrew-tap.sh | |
| bash -n packaging/scripts/stage-macos-app.sh | |
| - name: Validate Linux desktop metadata | |
| run: | | |
| desktop-file-validate assets/sourceos/desktop/ai.sourceos.TurtleTerm.desktop | |
| appstreamcli validate --no-net assets/sourceos/desktop/ai.sourceos.TurtleTerm.metainfo.xml | |
| - name: Check Python syntax | |
| run: | | |
| python3 -m py_compile packaging/scripts/render-stable-homebrew-formula.py | |
| python3 -m py_compile packaging/scripts/write-turtle-term-manifest.py | |
| python3 -m py_compile packaging/scripts/verify-turtle-term-artifact.py | |
| python3 -m py_compile assets/sourceos/bin/sourceos-term | |
| python3 -m py_compile assets/sourceos/bin/turtle-term | |
| python3 -m py_compile assets/sourceos/tests/test_sourceos_term_smoke.py | |
| python3 -m py_compile assets/sourceos/tests/test_turtle_term_branding.py | |
| python3 -m py_compile assets/sourceos/tests/test_turtle_term_release_readiness.py | |
| python3 -m py_compile assets/sourceos/tests/test_turtle_agentic_integration_plan.py | |
| python3 -m py_compile assets/sourceos/tests/test_turtle_product_identity.py | |
| python3 -m py_compile assets/sourceos/tests/test_turtle_linux_desktop_identity.py | |
| - name: Run smoke test | |
| run: python3 assets/sourceos/tests/test_sourceos_term_smoke.py | |
| - name: Run branding guard | |
| run: python3 assets/sourceos/tests/test_turtle_term_branding.py | |
| - name: Run product identity guard | |
| run: python3 assets/sourceos/tests/test_turtle_product_identity.py | |
| - name: Run Linux desktop identity guard | |
| run: python3 assets/sourceos/tests/test_turtle_linux_desktop_identity.py | |
| - name: Run package readiness guard | |
| run: python3 assets/sourceos/tests/test_turtle_term_release_readiness.py | |
| - name: Run agentic integration guard | |
| run: python3 assets/sourceos/tests/test_turtle_agentic_integration_plan.py |