CI/CD & Testing¶
What runs on every push: lint, type-check, unit tests, build, and (sometimes) deploy. CI is GitHub Actions in every product that has it — and all 28 products in this portfolio have at least one workflow.
CI: GitHub Actions¶
What it is. YAML-defined workflows triggered by push, pull_request, workflow_dispatch, or schedule. Runners are Linux/macOS/Windows VMs hosted by GitHub.
Used in: all 28 products — Toolbelt Handyman, SuperCabs, BidIt, Workflow Hub, Sourcing AI, DOC-AI, Marketing AI, GoGreen Verify, GameTrakker, Do Me A Ditty, Writers Room, Go Green Transit, GoGreen Seller AI, AutoDiag AI, OpenSentinel, AI Concierge, SmartForms, Sell Me A Pen, APEX Sales Training, Recruiting AI, PoligoPro, VotigoPro, HouseKey, Maximus Pet Store, Pecos River Traders, Tutor AI, Jarvis (only the Tauri repo has a workflow; the Electron repo has none), and the GGPI website. AutoDiag AI is the one product with CI only (ci.yml, no deploy workflow).
Workflow filenames seen:
- ci.yml — lint + test + build on pushes/PRs (Workflow Hub, Sourcing AI, DOC-AI, Marketing AI, Verify, GameTrakker, Seller AI, AutoDiag AI, OpenSentinel, AI Concierge, SmartForms, SuperCabs, Maximus Pet Store, Do Me A Ditty, Jarvis (Tauri)). Jarvis's ci.yml runs two jobs: frontend lint + tsc -b/Vite build + Vitest, and cargo test --locked.
- deploy.yml — SSH deploy to the IONOS VPS on a push to main/master. Several run quality gates first (lint -> test -> build -> deploy): Sell Me A Pen, Recruiting AI, VotigoPro, GGPI website; Tutor AI runs type-check + ESLint, Jest with coverage thresholds and a JUnit report, an app build and a Docker image build before its SSH deploy; Pecos River Traders lints PHP and runs a Composer build check before its SSH deploy (no separate ci.yml).
- Specialised workflows: desktop-release.yml, credential-rotation.yml, uptime.yml (GoGreen Verify); release.yml, deploy-website.yml, codeql.yml (Seller AI); mobile-eas.yml, ride-auto-cancel cron, monthly-b2b-statements.yml (SuperCabs); e2e-tests.yml, docker.yml, pr-checks.yml (HouseKey); minio-image.yml (DOC-AI); integration-tests.yml (VotigoPro WordPress plugin).
Deploy pattern: appleboy/ssh-action -> SSH to IONOS -> rebuild with Docker Compose (GoGreen Verify, AI Concierge, VotigoPro, HouseKey, Do Me A Ditty, Writers Room; OpenSentinel, Recruiting AI and the GGPI site also SSH; Maximus Pet Store, Pecos River Traders and Tutor AI deploy over SSH too). Variations: Workflow Hub swaps one service at a time and never runs docker compose down; GameTrakker's deploy is a manual workflow_dispatch that writes .env from repo Secrets; Go Green Transit's web site rsyncs static files; AI Concierge decrypts its env from a sops+age vault. Several repos regenerate .env from GitHub Secrets on each deploy (GGPI website, SuperCabs, Sourcing AI, GameTrakker). No Argo, no Spinnaker, no Terraform.
CI security gates: gitleaks (Toolbelt Handyman, DOC-AI), pip-audit + Trivy image scanning + SHA-pinned actions (DOC-AI), CodeQL (Seller AI). See Security-Patterns.md.
No GitLab CI, CircleCI, Jenkins, Drone, Buildkite in the portfolio.
Testing frameworks¶
Vitest¶
What it is. Vite-powered test runner. Jest-compatible API, much faster, native ESM. The portfolio's modern default for TypeScript.
Used in: Toolbelt Handyman (Vitest 2 + supertest + a test:audit tenancy gate), SuperCabs (web, ai, auth, booking, db packages), Workflow Hub (Vitest 4, Fastify inject; 3,186 tests in 204 files), AI Concierge (196 tests across api/shared/widget), SmartForms (frontend), GoGreen Verify (root + server), GoGreen Seller AI (Vitest 3 + happy-dom; 2,550+ tests), Sell Me A Pen (Vitest 2; 3 test files), Jarvis (Electron) (Vitest 3; 4 test files over config, file structure and main process), Jarvis (Tauri) (Vitest 4 + jsdom + Testing Library, with Picovoice mocked via a Vite alias), Recruiting AI (desktop client), GGPI website (Vitest 4 + jsdom; 936 backend + 325 frontend as of 2026-09-24), and the Go Green Transit desktop repo (devDependency). Marketing AI's AI orchestrator also carries *.test.ts files.
Jest¶
What it is. The pre-Vitest default for JS/TS. Older but battle-tested.
Used in: Tutor AI (Jest 29 + ts-jest + supertest, 60 test files, coverage thresholds and a JUnit report in CI), BidIt (Jest + ts-jest, API), Sourcing AI (Jest + ts-jest, run with coverage in CI), DOC-AI (frontend, with Testing Library), GameTrakker (127 tests in 15 suites on 2026-07-07), APEX Sales Training, Recruiting AI (259 suites / 5,301 tests, verified 2026-09-18), PoligoPro, HouseKey (API 1,130 tests / 61 suites; admin).
Jest vs. Vitest in this portfolio. Older Express/Next apps stay on Jest; new code defaults to Vitest. Recruiting AI runs both (Jest on the server, Vitest on the desktop client).
jest-expo¶
What it is. Jest preset for Expo / React Native apps, paired with React Native Testing Library.
Used in: APEX Sales Training, Recruiting AI, VotigoPro, HouseKey (43 tests / 17 suites) mobile apps; GameTrakker mobile (ts-jest); GoGreen Verify mobile has a jest config.
Karma + Jasmine¶
What it is. Angular's default unit-test stack.
Used in: HouseKey — the Angular public site (46 tests / 6 suites).
Playwright¶
What it is. Modern E2E browser-test framework. Multi-browser (Chromium, WebKit, Firefox), auto-waits, video recording, parallel runs.
Used in: Toolbelt Handyman (1.62), DOC-AI, SmartForms (16 e2e specs), GoGreen Verify (production audit harnesses), GameTrakker (32/32 on 2026-07-07, local + live configs), GoGreen Seller AI, GGPI website (local, audit and production e2e configs), PoligoPro, Recruiting AI (dev dependency), AI Concierge (E2E audit), HouseKey (80 e2e tests), Do Me A Ditty, Writers Room (e2e.yml), and Jarvis (Tauri) (playwright-core as a dev dependency). Workflow Hub instead uses a pnpm e2e live-deployment script, and BidIt a folder of Node e2e scripts.
Also used as a tool, not just for tests: OpenSentinel uses Playwright headlessly for its browser-automation tool.
Cypress (not used)¶
The Playwright competitor. The portfolio standardized on Playwright.
pytest¶
What it is. Python's de-facto test runner.
Used in: AutoDiag AI (pytest 8.3 + pytest-asyncio + pytest-cov, fail_under 60; 1,023 tests per README), DOC-AI (pytest 9 + pytest-asyncio), SmartForms (pytest + pytest-asyncio).
PHPUnit¶
What it is. PHP's xUnit family.
Used in: VotigoPro — PHPUnit ^11 (Feature + Unit) with Mockery; the WordPress plugin has its own integration tests. Maximus Pet Store — PHPUnit ^11.5 (Feature: cart, products, wishlist, auth, validation, API comparison; Unit: models and services incl. the AI provider service). Pecos River Traders — PHPUnit Feature tests (cart, checkout, products, blog, events, wishlist, compare, auth).
Go testing¶
What it is. Go's built-in test runner (go test ./...).
Used in: Marketing AI — each Go service is built and tested per service in ci.yml.
cargo test (Rust)¶
What it is. Rust's built-in test runner, driven by cargo test. Unit tests live next to the code in #[cfg(test)] modules; #[ignore] marks live-database and live-network tests.
Used in: Jarvis (Tauri) — cargo test --locked is its own CI job; the project's CLAUDE.md counts 614 tests plus 22 #[ignore]d live ones.
Mocha (not used in portfolio)¶
Older Node test runner. No product uses it — OpenSentinel uses Bun's built-in runner, others use Vitest or Jest.
Bun test¶
What it is. Bun's built-in Jest-compatible test runner. Extremely fast.
Used in: OpenSentinel — a 278-file suite typechecked via tsconfig.tests.json; the README badge claims 7,100+ tests.
supertest¶
What it is. HTTP assertion library for testing Node/Express API endpoints in-process (no live server) — drives requests against the app and asserts on status/body. Pairs with Vitest or Jest for route/integration tests.
Used in: GGPI website (server route tests — auth, CRM, admin, payments, chat), Toolbelt Handyman, GoGreen Verify, Sell Me A Pen, APEX Sales Training, Recruiting AI, HouseKey, Tutor AI.
Linting & formatting¶
ESLint¶
Universal across the TS/JS products. GGPI's flat config makes ESLint, tsc and the unit tests hard CI gates; Toolbelt Handyman, Sell Me A Pen, Recruiting AI, AI Concierge, Sourcing AI, Tutor AI and Jarvis (Tauri) also lint in CI.
Prettier¶
Code formatter. Sell Me A Pen runs ESLint/Prettier/tsc ahead of its tests; in GGPI the Prettier check is advisory only.
Biome (not used)¶
Modern ESLint + Prettier replacement. Faster, single tool. The portfolio hasn't migrated.
TypeScript strict mode¶
strict: true in tsconfig.json — covers noImplicitAny, strictNullChecks, etc. Confirmed in Toolbelt Handyman, Sourcing AI, GameTrakker and Seller AI.
Ruff¶
What it is. Modern Python linter/formatter (Rust-based, very fast).
Used in: AutoDiag AI (lint + format check in ci.yml) and SmartForms (lint).
PHP Pint, PHPStan, PHP CS Fixer¶
Laravel's formatter plus static analysis. Used in: VotigoPro — PHP CS Fixer / PHPStan / Pint run before PHPUnit in deploy.yml. Maximus Pet Store — Pint runs on the storefront and API in ci.yml, alongside php -l.
Pre-commit hooks¶
Husky + commitlint is confirmed in GoGreen Seller AI. Other products enforce the same checks in CI rather than locally.
Coverage / reporting¶
Coverage is measured in CI or locally (coverage-v8 in Toolbelt Handyman and Sell Me A Pen, Jest coverage in Sourcing AI and Tutor AI, pytest-cov in AutoDiag AI), but no product publishes to a hosted service like Codecov or Coveralls.
Comparison alternatives (not used)¶
| Tool | Notes |
|---|---|
| GitLab CI | Same shape as GH Actions. The repos are on GitHub. |
| CircleCI / Travis CI | Older. GH Actions filled the role. |
| Jenkins / Drone / Woodpecker | Self-hosted CI. The portfolio doesn't run a CI server. |
| Argo CD / Flux | GitOps deploy. Not used — SSH deploy is the pattern, even for products that ship Kubernetes manifests. |
| Tekton / Buildah / Kaniko | K8s-native build/CI. Not used. |
| storybook + Chromatic | Component visual regression. Not used in any product. |
Decision guide¶
TypeScript app, fresh code? Vitest.
Existing Jest tests? Stay on Jest until you're touching them anyway.
End-to-end browser tests? Playwright.
Python tests? pytest (+ ruff).
PHP tests? PHPUnit.
Go services? go test.
Bun runtime? Bun test.
Need CI? GitHub Actions, deploy via SSH to IONOS.
"Should we add staging / blue-green?" Eventually, but compose-up-d works at this scale.