Skip to content

Make Homebrew surface TurtleTerm product launchers #51

Make Homebrew surface TurtleTerm product launchers

Make Homebrew surface TurtleTerm product launchers #51

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: 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
- 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
- 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 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